mshtml: Notify the Gecko stream listener that we stopped binding, if an error occurs in start_binding.
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 15a2f9c..3e05fdc 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -796,6 +796,8 @@
     hres = CreateAsyncBindCtx(0, STATUSCLB(bscallback), NULL, &bctx);
     if(FAILED(hres)) {
         WARN("CreateAsyncBindCtx failed: %08x\n", hres);
+        nsIStreamListener_OnStopRequest(bscallback->nslistener, (nsIRequest*)NSCHANNEL(bscallback->nschannel),
+                bscallback->nscontext, NS_OK);
         return hres;
     }
 
@@ -803,6 +805,8 @@
     IBindCtx_Release(bctx);
     if(FAILED(hres)) {
         WARN("BindToStorage failed: %08x\n", hres);
+        nsIStreamListener_OnStopRequest(bscallback->nslistener, (nsIRequest*)NSCHANNEL(bscallback->nschannel),
+                bscallback->nscontext, NS_OK);
         return hres;
     }