Fixing nsbeta2+ bug 45019, images didn't show up on document that were fully created with document.open(): document.write();... r=nisheet&rpotts
This commit is contained in:
@@ -1914,10 +1914,7 @@ nsHTMLDocument::OpenCommon(nsIURI* aSourceURL)
|
||||
mScriptGlobalObject->GetDocShell(getter_AddRefs(docshell));
|
||||
|
||||
if (docshell) {
|
||||
nsCOMPtr<nsIWebNavigation> wn(do_QueryInterface(docshell));
|
||||
if(wn) {
|
||||
wn->Stop();
|
||||
}
|
||||
docshell->StopLoad();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user