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 = new WebView()
|
||||||
webview.addEventListener('console-message', function (e) {
|
webview.addEventListener('console-message', function (e) {
|
||||||
webview.remove()
|
webview.remove()
|
||||||
assert.equal(e.message, location.href)
|
assert.equal(e.message, webview.src)
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
webview.setAttribute('allowpopups', 'on')
|
webview.setAttribute('allowpopups', 'on')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue