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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user