diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js
index <HASH>..<HASH> 100644
--- a/spec/api-browser-window-spec.js
+++ b/spec/api-browser-window-spec.js
@@ -153,6 +153,14 @@ describe('browser-window module', function () {
       })
       w.loadURL('file://' + path.join(fixtures, 'api', 'did-fail-load-iframe.html'))
     })
+
+    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/')
+        done()
+      })
+      w.loadURL('http://somewhere-that-does-not.exist/')
+    })
   })
 
   describe('BrowserWindow.show()', function () {
spec: loadUrl should not crash in did-fail-provisional-load handler