diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index f1dd24345ded..2a8d1295c7fd 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -156,10 +156,10 @@ describe('browser-window module', function () { it('does not crash in did-fail-provisional-load handler', function (done) { w.webContents.once('did-fail-provisional-load', function () { - w.loadURL('http://somewhere-that-does-not.exist/') + w.loadURL('http://localhost:11111') done() }) - w.loadURL('http://somewhere-that-does-not.exist/') + w.loadURL('http://localhost:11111') }) })