fix: set setter of window.location
This commit is contained in:
parent
e80e3a53e9
commit
fc4e10b6c0
2 changed files with 12 additions and 2 deletions
|
@ -515,7 +515,7 @@ describe('chromium feature', () => {
|
|||
}
|
||||
app.once('browser-window-created', (event, window) => {
|
||||
window.webContents.once('did-finish-load', () => {
|
||||
assert.strictEqual(b.location, targetURL)
|
||||
assert.strictEqual(b.location.href, targetURL)
|
||||
b.close()
|
||||
done()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue