mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Set allowpopups attribute in nativeWindow open specs
This commit is contained in:
@@ -1653,6 +1653,7 @@ describe('<webview> tag', function () {
|
||||
|
||||
describe('nativeWindowOpen option', () => {
|
||||
beforeEach(function () {
|
||||
webview.setAttribute('allowpopups', 'on')
|
||||
webview.setAttribute('nodeintegration', 'on')
|
||||
webview.setAttribute('webpreferences', 'nativeWindowOpen=1')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user