Jacek Caban : mshtml: Return NS_BINDING_ABORTED for canceled binding in AsyncOpen.

Alexandre Julliard julliard at winehq.org
Fri Jul 22 10:15:59 CDT 2011


Module: wine
Branch: master
Commit: 69f900688943f6df6abdac22d2d21127c20a15f9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69f900688943f6df6abdac22d2d21127c20a15f9

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jul 22 15:35:47 2011 +0200

mshtml: Return NS_BINDING_ABORTED for canceled binding in AsyncOpen.

---

 dlls/mshtml/nsio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index e9f7092..ca2b763 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -997,7 +997,7 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
             nsres = before_async_open(This, window->doc_obj->nscontainer, &cancel);
             if(NS_SUCCEEDED(nsres)  && cancel) {
                 TRACE("canceled\n");
-                nsres = NS_ERROR_UNEXPECTED;
+                nsres = NS_BINDING_ABORTED;
             }
         }
     }




More information about the wine-cvs mailing list