diff --git a/spec-main/fixtures/apps/quit/main.js b/spec-main/fixtures/apps/quit/main.js index 0859ccb2becd..eef4d676621d 100644 --- a/spec-main/fixtures/apps/quit/main.js +++ b/spec-main/fixtures/apps/quit/main.js @@ -1,7 +1,13 @@ const { app, BrowserWindow } = require('electron'); app.once('ready', () => { - const w = new BrowserWindow({ show: false, webPreferences: { nodeIntegration: true } }); + const w = new BrowserWindow({ + show: false, + webPreferences: { + contextIsolation: false, + nodeIntegration: true + } + }); w.webContents.once('crashed', () => { app.quit(); });