Backed out changeset dd72eb737d96 (bug 1632975) for causing Bug 1800981 CLOSED TREE
This commit is contained in:
@@ -1186,6 +1186,13 @@ bool ScriptLoader::ProcessInlineScript(nsIScriptElement* aElement,
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
// We must perform a microtask checkpoint when inserting script elements
|
||||
// as specified by: https://html.spec.whatwg.org/#parsing-main-incdata
|
||||
// For the non-inline module cases this happens in ProcessRequest.
|
||||
mozilla::nsAutoMicroTask mt;
|
||||
}
|
||||
|
||||
// This calls OnFetchComplete directly since there's no need to start
|
||||
// fetching an inline script.
|
||||
nsresult rv = modReq->OnFetchComplete(NS_OK);
|
||||
|
||||
Reference in New Issue
Block a user