Add spec for webPreferences in features string
This commit is contained in:
parent
0aa53f4af7
commit
7726c7c6c4
1 changed files with 8 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue