Jacek Caban : mshtml: Use Gecko' s AsyncOpen if URI is has no nsIWineURI interface.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 22 04:59:03 CST 2006


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Dec 21 23:31:53 2006 +0100

mshtml: Use Gecko's AsyncOpen if URI is has no nsIWineURI interface.

---

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

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 4b48511..4ce041e 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -607,8 +607,8 @@ static nsresult NSAPI nsChannel_AsyncOpe
 
         nsIWineURI_GetNSContainer(This->uri, &container);
         if(!container) {
-            ERR("container = NULL\n");
-            return NS_ERROR_UNEXPECTED;
+            TRACE("container = NULL\n");
+            return nsIChannel_AsyncOpen(This->channel, aListener, aContext);
         }
 
         if(container->bscallback) {




More information about the wine-cvs mailing list