mshtml: Improved debug traces in nsIChannel::AsyncOpen implementation.

This commit is contained in:
Jacek Caban 2011-11-12 18:25:23 +01:00 committed by Alexandre Julliard
parent 64b94ebffc
commit 69f4def9e5
1 changed files with 7 additions and 0 deletions

View File

@ -949,6 +949,13 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
if(!ensure_uri(This->uri))
return NS_ERROR_FAILURE;
if(TRACE_ON(mshtml)) {
BSTR uri_str;
IUri_GetDisplayUri(This->uri->uri, &uri_str);
TRACE("opening %s\n", debugstr_w(uri_str));
SysFreeString(uri_str);
}
if(This->uri->is_doc_uri) {
window = get_channel_window(This);
if(window) {