Commit 1e92565c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Load page from moniker if AsyncOpen fails.

parent 377071f4
...@@ -644,7 +644,11 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen ...@@ -644,7 +644,11 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
} }
} }
return nsIChannel_AsyncOpen(This->channel, aListener, aContext); nsres = nsIChannel_AsyncOpen(This->channel, aListener, aContext);
if(NS_FAILED(nsres) && (This->load_flags & LOAD_INITIAL_DOCUMENT_URI))
return WINE_NS_LOAD_FROM_MONIKER;
return nsres;
} }
TRACE("channel == NULL\n"); TRACE("channel == NULL\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment