Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz
This commit is contained in:
@@ -363,7 +363,7 @@ ImageDocument::SetScriptGlobalObject(nsIScriptGlobalObject* aScriptGlobalObject)
|
||||
|
||||
// Set the script global object on the superclass before doing
|
||||
// anything that might require it....
|
||||
nsHTMLDocument::SetScriptGlobalObject(aScriptGlobalObject);
|
||||
MediaDocument::SetScriptGlobalObject(aScriptGlobalObject);
|
||||
|
||||
if (aScriptGlobalObject) {
|
||||
if (!GetRootElement()) {
|
||||
|
||||
Reference in New Issue
Block a user