window.opener location should be webview src URL
This commit is contained in:
parent
bbaab755e3
commit
41dea03007
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue