Fail "navigator.serviceWorker" tests if WebContents crashes
This commit is contained in:
parent
041b32b01f
commit
dcb369ee46
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,7 @@ describe('chromium feature', () => {
|
|||
}, () => done())
|
||||
}
|
||||
})
|
||||
w.webContents.on('crashed', () => done(new Error('WebContents crashed.')))
|
||||
w.loadURL(`file://${fixtures}/pages/service-worker/index.html`)
|
||||
})
|
||||
|
||||
|
@ -184,6 +185,7 @@ describe('chromium feature', () => {
|
|||
})
|
||||
}
|
||||
})
|
||||
w.webContents.on('crashed', () => done(new Error('WebContents crashed.')))
|
||||
w.loadURL(`file://${fixtures}/pages/service-worker/index.html`)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue