chore: add deprecation warning for the default of contextIsolation (#23507)
* chore: add deprecation warning for the default of contextIsolation * chore: add to breaking changes * Update docs/breaking-changes.md Co-authored-by: Jeremy Apthorp <jeremya@chromium.org> * chore: fix specs on windows Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
This commit is contained in:
parent
605e50269e
commit
16a3f41fd3
6 changed files with 34 additions and 3 deletions
6
spec/fixtures/api/window-all-closed/main.js
vendored
6
spec/fixtures/api/window-all-closed/main.js
vendored
|
@ -15,6 +15,10 @@ app.on('quit', () => {
|
|||
});
|
||||
|
||||
app.whenReady().then(() => {
|
||||
const win = new BrowserWindow();
|
||||
const win = new BrowserWindow({
|
||||
webPreferences: {
|
||||
contextIsolation: true
|
||||
}
|
||||
});
|
||||
win.close();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue