update (#21915)
This commit is contained in:
parent
28fb2b7ed5
commit
0bd8a97f38
5 changed files with 5 additions and 5 deletions
|
@ -1095,7 +1095,7 @@ describe('chromium features', () => {
|
|||
// History should have current page by now.
|
||||
expect((w.webContents as any).length()).to.equal(1)
|
||||
|
||||
const waitCommit = emittedOnce(w.webContents, 'navigation-entry-commited')
|
||||
const waitCommit = emittedOnce(w.webContents, 'navigation-entry-committed')
|
||||
w.webContents.executeJavaScript('window.history.pushState({}, "")')
|
||||
await waitCommit
|
||||
// Initial page + pushed state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue