diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 0c3e3f2224e2..ba8c979a9f8b 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -1256,7 +1256,7 @@ describe('browser-window module', function () { }) it('works with result objects that have DOM class prototypes', function (done) { - w.webContents.executeJavaScript('document.location', function (result) { + w.webContents.executeJavaScript('document.location', function (result) { assert.equal(result.origin, server.url) assert.equal(result.protocol, 'http:') done() diff --git a/spec/api-ipc-spec.js b/spec/api-ipc-spec.js index d84801751f4b..7f63dac3f072 100644 --- a/spec/api-ipc-spec.js +++ b/spec/api-ipc-spec.js @@ -323,7 +323,7 @@ describe('ipc module', function () { assert.equal(value.protocol, 'file:') assert.equal(value.hostname, '') done() - }) + }) ipcRenderer.send('message', document.location) })