Doc node integration inheritance
This commit is contained in:
parent
eafe9c245b
commit
55b12c184b
2 changed files with 6 additions and 0 deletions
|
@ -84,6 +84,9 @@ than the minimum values or greater than the maximum.
|
||||||
If "on", the guest page in `webview` will have node integration and can use node
|
If "on", the guest page in `webview` will have node integration and can use node
|
||||||
APIs like `require` and `process` to access low level system resources.
|
APIs like `require` and `process` to access low level system resources.
|
||||||
|
|
||||||
|
**Note:** Node integration will always be disabled in the `webview` if it is
|
||||||
|
disabled on the parent window.
|
||||||
|
|
||||||
### `plugins`
|
### `plugins`
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|
|
@ -23,6 +23,9 @@ Creates a new window and returns an instance of `BrowserWindowProxy` class.
|
||||||
The `features` string follows the format of standard browser, but each feature
|
The `features` string follows the format of standard browser, but each feature
|
||||||
has to be a field of `BrowserWindow`'s options.
|
has to be a field of `BrowserWindow`'s options.
|
||||||
|
|
||||||
|
**Note:** Node integration will always be disabled in the opened `window` if it
|
||||||
|
is disabled on the parent window.
|
||||||
|
|
||||||
### `window.opener.postMessage(message, targetOrigin)`
|
### `window.opener.postMessage(message, targetOrigin)`
|
||||||
|
|
||||||
* `message` String
|
* `message` String
|
||||||
|
|
Loading…
Reference in a new issue