From eb30cc2ede34c483b2ad8cdcdc1e123ccb885ebb Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Mon, 19 Nov 2018 10:36:52 -0500 Subject: [PATCH] docs: limits of nativeWindowOpen (#15754) --- docs/api/browser-window.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index da7edc184fca..cdc99ce9e7c2 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -351,8 +351,10 @@ It creates a new `BrowserWindow` with native properties as set by the `options`. Console tab. **Note:** This option is currently experimental and may change or be removed in future Electron releases. * `nativeWindowOpen` Boolean (optional) - Whether to use native - `window.open()`. Defaults to `false`. **Note:** This option is currently - experimental. + `window.open()`. If set to `true`, the `webPreferences` of child window + will always be the same with parent window, regardless of the parameters + passed to `window.open()`. Defaults to `false`. **Note:** This option is + currently experimental. * `webviewTag` Boolean (optional) - Whether to enable the [`` tag](webview-tag.md). Defaults to the value of the `nodeIntegration` option. **Note:** The `preload` script configured for the `` will have node integration