docs: nativeWindowOpen default was changed in Electron 15 (#31345)
This commit is contained in:
parent
1e666e5076
commit
f8e6d45b70
1 changed files with 12 additions and 10 deletions
|
@ -69,6 +69,18 @@ Electron apps.
|
||||||
See [here](#removed-desktopcapturergetsources-in-the-renderer) for details on
|
See [here](#removed-desktopcapturergetsources-in-the-renderer) for details on
|
||||||
how to replace this API in your app.
|
how to replace this API in your app.
|
||||||
|
|
||||||
|
## Planned Breaking API Changes (15.0)
|
||||||
|
|
||||||
|
### Default Changed: `nativeWindowOpen` defaults to `true`
|
||||||
|
|
||||||
|
Prior to Electron 15, `window.open` was by default shimmed to use
|
||||||
|
`BrowserWindowProxy`. This meant that `window.open('about:blank')` did not work
|
||||||
|
to open synchronously scriptable child windows, among other incompatibilities.
|
||||||
|
`nativeWindowOpen` is no longer experimental, and is now the default.
|
||||||
|
|
||||||
|
See the documentation for [window.open in Electron](api/window-open.md)
|
||||||
|
for more details.
|
||||||
|
|
||||||
## Planned Breaking API Changes (14.0)
|
## Planned Breaking API Changes (14.0)
|
||||||
|
|
||||||
### Removed: `remote` module
|
### Removed: `remote` module
|
||||||
|
@ -119,16 +131,6 @@ ensure your code works with this property enabled. It has been enabled by defau
|
||||||
|
|
||||||
You will be affected by this change if you use either `webFrame.executeJavaScript` or `webFrame.executeJavaScriptInIsolatedWorld`. You will need to ensure that values returned by either of those methods are supported by the [Context Bridge API](api/context-bridge.md#parameter--error--return-type-support) as these methods use the same value passing semantics.
|
You will be affected by this change if you use either `webFrame.executeJavaScript` or `webFrame.executeJavaScriptInIsolatedWorld`. You will need to ensure that values returned by either of those methods are supported by the [Context Bridge API](api/context-bridge.md#parameter--error--return-type-support) as these methods use the same value passing semantics.
|
||||||
|
|
||||||
### Default Changed: `nativeWindowOpen` defaults to `true`
|
|
||||||
|
|
||||||
Prior to Electron 14, `window.open` was by default shimmed to use
|
|
||||||
`BrowserWindowProxy`. This meant that `window.open('about:blank')` did not work
|
|
||||||
to open synchronously scriptable child windows, among other incompatibilities.
|
|
||||||
`nativeWindowOpen` is no longer experimental, and is now the default.
|
|
||||||
|
|
||||||
See the documentation for [window.open in Electron](api/window-open.md)
|
|
||||||
for more details.
|
|
||||||
|
|
||||||
### Removed: BrowserWindowConstructorOptions inheriting from parent windows
|
### Removed: BrowserWindowConstructorOptions inheriting from parent windows
|
||||||
|
|
||||||
Prior to Electron 14, windows opened with `window.open` would inherit
|
Prior to Electron 14, windows opened with `window.open` would inherit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue