зеркало из https://github.com/mozilla/gecko-dev.git
Attempting to wallpaper over the topcrash reported in bug 408116. r+sr=jst@mozilla.com
This commit is contained in:
Родитель
1f21a813be
Коммит
ffe8a3055b
|
@ -261,6 +261,10 @@ nsScriptLoader::StartLoad(nsScriptLoadRequest *aRequest, const nsAString &aType)
|
|||
nsCOMPtr<nsIStreamLoader> loader;
|
||||
|
||||
nsCOMPtr<nsPIDOMWindow> window(do_QueryInterface(mDocument->GetScriptGlobalObject()));
|
||||
if (!window) {
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
}
|
||||
|
||||
nsIDocShell *docshell = window->GetDocShell();
|
||||
|
||||
nsCOMPtr<nsIInterfaceRequestor> prompter(do_QueryInterface(docshell));
|
||||
|
|
|
@ -1617,6 +1617,11 @@ nsParser::DidBuildModel(nsresult anErrorCode)
|
|||
|
||||
//Ref. to bug 61462.
|
||||
mParserContext->mRequest = 0;
|
||||
|
||||
if (mSpeculativeScriptThread) {
|
||||
mSpeculativeScriptThread->Terminate();
|
||||
mSpeculativeScriptThread = nsnull;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче