fix: set setter of window.location

This commit is contained in:
Cheng Zhao 2018-12-04 16:22:03 +09:00
parent e80e3a53e9
commit fc4e10b6c0
2 changed files with 12 additions and 2 deletions

View file

@ -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()
})