Revert "Revert "spec: Suppress the test that destroys WebContents in event listener""

This reverts commit 210652ed54.
This commit is contained in:
Cheng Zhao 2017-08-24 19:16:44 +09:00
parent a7bae32527
commit 6e6b097968

View file

@ -590,6 +590,12 @@ describe('webContents module', function () {
})
describe('destroy()', () => {
// Destroying webContents in its event listener is going to crash when
// Electron is built in Debug mode.
if (process.platform !== 'darwin') {
return
}
let server
before(function (done) {