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__')
|
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 () {
|
describe('window.opener', function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue