Backed out changeset 760123aa1758 (bug 1665330) for WPT failures in /html/webappapis/dynamic-markup-insertion/document-write/module-tla-import.html. CLOSED TREE

This commit is contained in:
Dorel Luca
2021-01-13 16:57:11 +02:00
parent fd6e951594
commit e54c64f8d4
6 changed files with 18 additions and 3 deletions

View File

@@ -2608,7 +2608,7 @@ nsresult ScriptLoader::ProcessRequest(ScriptLoadRequest* aRequest) {
do_QueryInterface(aRequest->GetScriptElement());
nsCOMPtr<Document> doc;
if (!aRequest->mIsInline || aRequest->IsModuleRequest()) {
if (!aRequest->mIsInline) {
doc = scriptElem->OwnerDoc();
}