mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Doc node integration inheritance
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user