mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix: set setter of window.location
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user