diff --git a/spec/api-web-contents-spec.js b/spec/api-web-contents-spec.js index d454c1ea6741..ca35a231f4b9 100644 --- a/spec/api-web-contents-spec.js +++ b/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) {