Skip to content

Commit eb30cc2

Browse files
trop[bot]John Kleinschmidt
authored andcommitted
docs: limits of nativeWindowOpen (electron#15754)
1 parent d9efaa9 commit eb30cc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/api/browser-window.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,10 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
351351
Console tab. **Note:** This option is currently experimental and may
352352
change or be removed in future Electron releases.
353353
* `nativeWindowOpen` Boolean (optional) - Whether to use native
354-
`window.open()`. Defaults to `false`. **Note:** This option is currently
355-
experimental.
354+
`window.open()`. If set to `true`, the `webPreferences` of child window
355+
will always be the same with parent window, regardless of the parameters
356+
passed to `window.open()`. Defaults to `false`. **Note:** This option is
357+
currently experimental.
356358
* `webviewTag` Boolean (optional) - Whether to enable the [`<webview>` tag](webview-tag.md).
357359
Defaults to the value of the `nodeIntegration` option. **Note:** The
358360
`preload` script configured for the `<webview>` will have node integration

0 commit comments

Comments
 (0)