mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Add spec for webPreferences in features string
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user