Commit c02b46d9 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed handling channels without container and necko channel.

parent 9ae9109d
...@@ -761,7 +761,9 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen ...@@ -761,7 +761,9 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
nsIWineURI_GetNSContainer(This->uri, &container); nsIWineURI_GetNSContainer(This->uri, &container);
if(!container) { if(!container) {
TRACE("container = NULL\n"); TRACE("container = NULL\n");
return nsIChannel_AsyncOpen(This->channel, aListener, aContext); return This->channel
? nsIChannel_AsyncOpen(This->channel, aListener, aContext)
: NS_ERROR_UNEXPECTED;
} }
nsIWineURI_GetIsDocumentURI(This->uri, &is_doc_uri); nsIWineURI_GetIsDocumentURI(This->uri, &is_doc_uri);
......
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