Rename option to contextIsolation

This commit is contained in:
Kevin Sawicki 2016-12-15 13:20:17 -08:00
parent b56bdc83af
commit ad3b837ad5
5 changed files with 20 additions and 15 deletions

View file

@ -1835,7 +1835,7 @@ describe('BrowserWindow module', function () {
})
})
describe('isolated option', () => {
describe('contextIsolation option', () => {
it('separates the page context from the Electron/preload context', (done) => {
if (w != null) w.destroy()
@ -1860,7 +1860,7 @@ describe('BrowserWindow module', function () {
w = new BrowserWindow({
show: false,
webPreferences: {
isolated: true,
contextIsolation: true,
preload: path.join(fixtures, 'api', 'isolated-preload.js')
}
})