Backed out 3 changesets (bug 1803984)

Backed out changeset d6316cfb118d (bug 1803984)
Backed out changeset bcbcbdf4f449 (bug 1803984)
Backed out changeset 3bc8c30ecc25 (bug 1803984)
This commit is contained in:
Cristina Horotan
2023-05-29 12:36:25 +03:00
parent 19f22176f6
commit 8957f9e609
18 changed files with 0 additions and 140 deletions

View File

@@ -995,17 +995,6 @@ bool ScriptLoader::ProcessExternalScript(nsIScriptElement* aElement,
return false;
}
// If there are a preloaded request and an import map, we won't use the
// preloaded request and will try to create a new one for this, because the
// import map isn't preloaded, and the preloaded request may have used the
// wrong module specifiers.
if (request && request->IsModuleRequest() &&
mModuleLoader->HasImportMapRegistered()) {
DebugOnly<bool> removed = mModuleLoader->RemoveFetchedModule(request->mURI);
MOZ_ASSERT(removed);
request = nullptr;
}
if (request) {
// Use the preload request.