feat: enable nativeWindowOpen by default (#28552)

* feat: enable nativeWindowOpen by default

* set nativeWindowOpen: false on spec/ main window

* update snapshots

* fix tests

* fix test

* fix webview test missing allowpopups

* fix other test

* update default
This commit is contained in:
Jeremy Rose 2021-04-13 12:36:38 -07:00 committed by GitHub
parent dba4df9326
commit f8bdef5349
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 90 additions and 95 deletions

View file

@ -109,7 +109,8 @@ app.whenReady().then(async function () {
backgroundThrottling: false,
nodeIntegration: true,
webviewTag: true,
contextIsolation: false
contextIsolation: false,
nativeWindowOpen: false
}
});
window.loadFile('static/index.html', {