Revert "Revert "spec: Suppress the test that destroys WebContents in event listener""
This reverts commit 210652ed54
.
This commit is contained in:
parent
a7bae32527
commit
6e6b097968
1 changed files with 6 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue