From 55b12c184b1c3c4b2d5d32a8944d7234d88e709a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 30 Mar 2016 10:55:16 -0700 Subject: [PATCH] Doc node integration inheritance --- docs/api/web-view-tag.md | 3 +++ docs/api/window-open.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index ff9013023c15..47e23dc9943f 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -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 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` ```html diff --git a/docs/api/window-open.md b/docs/api/window-open.md index 5d298e61e75b..46e74327741f 100644 --- a/docs/api/window-open.md +++ b/docs/api/window-open.md @@ -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 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)` * `message` String