From 9f06b6dc21329fa12b1c4d4afdaff7a7360d7569 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 23 May 2017 14:22:09 -0700 Subject: [PATCH] Set allowpopups attribute in nativeWindow open specs --- spec/webview-spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/webview-spec.js b/spec/webview-spec.js index 7043a2a6b807..e9f2cd9fb688 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -1653,6 +1653,7 @@ describe(' tag', function () { describe('nativeWindowOpen option', () => { beforeEach(function () { + webview.setAttribute('allowpopups', 'on') webview.setAttribute('nodeintegration', 'on') webview.setAttribute('webpreferences', 'nativeWindowOpen=1') })