mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
Fail "navigator.serviceWorker" tests if WebContents crashes
This commit is contained in:
committed by
Cheng Zhao
parent
041b32b01f
commit
dcb369ee46
@@ -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`)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user