Set allowpopups attribute in nativeWindow open specs
This commit is contained in:
parent
a32b7e5cdb
commit
9f06b6dc21
1 changed files with 1 additions and 0 deletions
|
@ -1653,6 +1653,7 @@ describe('<webview> tag', function () {
|
||||||
|
|
||||||
describe('nativeWindowOpen option', () => {
|
describe('nativeWindowOpen option', () => {
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
|
webview.setAttribute('allowpopups', 'on')
|
||||||
webview.setAttribute('nodeintegration', 'on')
|
webview.setAttribute('nodeintegration', 'on')
|
||||||
webview.setAttribute('webpreferences', 'nativeWindowOpen=1')
|
webview.setAttribute('webpreferences', 'nativeWindowOpen=1')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue