Backed out 3 changesets (bug 1804086) for causing failures in JSValidatorChild.cpp CLOSED TREE

Backed out changeset 12a40a80a975 (bug 1804086)
Backed out changeset 1bea9ea5e20d (bug 1804086)
Backed out changeset 00feb14e7824 (bug 1804086)
This commit is contained in:
Noemi Erli
2023-03-22 03:33:43 +02:00
parent 7bb2fb318c
commit aa2f00d1d7
25 changed files with 46 additions and 369 deletions

View File

@@ -107,12 +107,8 @@ nsresult ModuleLoader::StartFetch(ModuleLoadRequest* aRequest) {
securityFlags |= nsILoadInfo::SEC_ALLOW_CHROME;
// Delegate Shared Behavior to base ScriptLoader
//
// aCharsetForPreload is passed as Nothing() because this is not a preload
// and `StartLoadInternal` is able to find the charset by using `aRequest`
// for this case.
nsresult rv = GetScriptLoader()->StartLoadInternal(
aRequest, securityFlags, 0, Nothing() /* aCharsetForPreload */);
nsresult rv =
GetScriptLoader()->StartLoadInternal(aRequest, securityFlags, 0);
NS_ENSURE_SUCCESS(rv, rv);
// https://html.spec.whatwg.org/multipage/webappapis.html#fetch-an-import()-module-script-graph