Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.

This commit is contained in:
warren@netscape.com
2000-03-29 03:58:50 +00:00
parent 7b3838d6e9
commit a2fb078809
164 changed files with 4088 additions and 2332 deletions

View File

@@ -1731,7 +1731,7 @@ nsHTMLDocument::OpenCommon(nsIURI* aSourceURL)
nsCOMPtr<nsIChannel> channel;
nsCOMPtr<nsILoadGroup> group = do_QueryReferent(mDocumentLoadGroup);
result = NS_OpenURI(getter_AddRefs(channel), aSourceURL, group);
result = NS_OpenURI(getter_AddRefs(channel), aSourceURL, nsnull, group);
if (NS_FAILED(result)) return result;
result = Reset(channel, group);
if (NS_FAILED(result)) return result;