Add spec for webPreferences in features string

This commit is contained in:
Kevin Sawicki 2017-04-25 14:19:59 -07:00
parent 0aa53f4af7
commit 7726c7c6c4

View file

@ -391,6 +391,14 @@ describe('chromium feature', function () {
})
b = window.open('', '__proto__')
})
it('does not throw an exception when the features include webPreferences', function () {
let b
assert.doesNotThrow(function () {
b = window.open('', '', 'webPreferences=')
})
b.close()
})
})
describe('window.opener', function () {