mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
window.opener location should be webview src URL
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user