Bug 1420420 followup - sidestep a rooting hazard. r=me a=hazad-fix
This commit is contained in:
@@ -913,8 +913,8 @@ ScriptLoader::InstantiateModuleTree(ModuleLoadRequest* aRequest)
|
||||
|
||||
JS::Value parseError = FindFirstParseError(aRequest);
|
||||
if (!parseError.isUndefined()) {
|
||||
LOG(("ScriptLoadRequest (%p): found parse error", aRequest));
|
||||
moduleScript->SetErrorToRethrow(parseError);
|
||||
LOG(("ScriptLoadRequest (%p): found parse error", aRequest));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user