Documented JavasScript API changes related to the fix for additional features processing

This commit is contained in:
Michael Vasseur 2016-09-23 09:08:32 +02:00 committed by Cheng Zhao
parent c811188e22
commit 3af686daff
2 changed files with 4 additions and 1 deletions

View file

@ -25,8 +25,10 @@ Returns `BrowserWindowProxy` - Creates a new window and returns an instance of `
The `features` string follows the format of standard browser, but each feature
has to be a field of `BrowserWindow`'s options.
**Note:** Node integration will always be disabled in the opened `window` if it
**Notes:**
* Node integration will always be disabled in the opened `window` if it
is disabled on the parent window.
* Non-standard features (that are not handled by Chromium or Electron such `this-is-not-a-standard-feature`) given in features will be passed to any registered `webContent`'s `new-window` event handler in the `additional_features` argument.
### `window.opener.postMessage(message, targetOrigin)`