Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3615,10 +3615,7 @@ nsHTMLDocument::GenerateParserKey(void)
|
||||
|
||||
// The script loader provides us with the currently executing script element,
|
||||
// which is guaranteed to be unique per script.
|
||||
nsCOMPtr<nsIScriptElement> key;
|
||||
mScriptLoader->GetCurrentScript(getter_AddRefs(key));
|
||||
|
||||
return key;
|
||||
return mScriptLoader->GetCurrentScript();
|
||||
}
|
||||
|
||||
/* attribute DOMString designMode; */
|
||||
|
||||
Reference in New Issue
Block a user