From 41dea03007031fc7b035e9cc3125378c28454f2e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 25 Nov 2016 09:43:35 -0800 Subject: [PATCH] window.opener location should be webview src URL --- spec/chromium-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index 7d58bee3747..e0bdd1861d5 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -401,7 +401,7 @@ describe('chromium feature', function () { webview = new WebView() webview.addEventListener('console-message', function (e) { webview.remove() - assert.equal(e.message, location.href) + assert.equal(e.message, webview.src) done() }) webview.setAttribute('allowpopups', 'on')