feat: Upgrade to Chromium 71.0.3578.98 (#15966)
This commit is contained in:
parent
92ddfd0d4c
commit
52fe92d02e
204 changed files with 2291 additions and 1760 deletions
|
@ -158,10 +158,15 @@ describe('node feature', () => {
|
|||
const listeners = process.listeners('uncaughtException')
|
||||
process.removeAllListeners('uncaughtException')
|
||||
process.on('uncaughtException', (thrown) => {
|
||||
expect(thrown).to.equal(error)
|
||||
process.removeAllListeners('uncaughtException')
|
||||
listeners.forEach((listener) => process.on('uncaughtException', listener))
|
||||
done()
|
||||
try {
|
||||
expect(thrown).to.equal(error)
|
||||
done()
|
||||
} catch (e) {
|
||||
done(e)
|
||||
} finally {
|
||||
process.removeAllListeners('uncaughtException')
|
||||
listeners.forEach((listener) => process.on('uncaughtException', listener))
|
||||
}
|
||||
})
|
||||
fs.readFile(__filename, () => {
|
||||
throw error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue