mshtml: Load page from moniker if AsyncOpen fails.

This commit is contained in:
Jacek Caban 2006-10-15 21:16:48 +02:00 committed by Alexandre Julliard
parent 377071f42c
commit 1e92565c3e
1 changed files with 5 additions and 1 deletions

View File

@ -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");