window.opener location should be webview src URL

This commit is contained in:
Kevin Sawicki 2016-11-25 09:43:35 -08:00
parent bbaab755e3
commit 41dea03007

View file

@ -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')