Browse Source

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

This reverts commit b315eb83fd720576b374534be2251da23f830043.
Kevin Sawicki 7 years ago
parent
commit
210652ed54
1 changed files with 0 additions and 6 deletions
  1. 0 6
      spec/api-web-contents-spec.js

+ 0 - 6
spec/api-web-contents-spec.js

@@ -590,12 +590,6 @@ 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) {