diff --git a/docs/api/breaking-changes.md b/docs/api/breaking-changes.md index 2f69fa6cf0781..4cf1fa7f26325 100644 --- a/docs/api/breaking-changes.md +++ b/docs/api/breaking-changes.md @@ -62,7 +62,17 @@ The following `webPreferences` option default values are deprecated in favor of | `nodeIntegration` | `true` | `false` | | `webviewTag` | `nodeIntegration` if set else `true` | `false` | -## `nativeWindowOpen` +E.g. Re-enabling the webviewTag + +```js +const w = new BrowserWindow({ + webPreferences: { + webviewTag: true + } +}) +``` + +### `nativeWindowOpen` Child windows opened with the `nativeWindowOpen` option will always have Node.js integration disabled.