Bug 1778076 - Part 4: Rename ModuleInstantiate with ModuleLink to follow the spec r=arai
The ModuleObject methods will be dealt with in the next patch. Depends on D151013 Differential Revision: https://phabricator.services.mozilla.com/D151014
This commit is contained in:
@@ -985,7 +985,7 @@ bool ModuleLoaderBase::InstantiateModuleGraph(ModuleLoadRequest* aRequest) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!JS::ModuleInstantiate(jsapi.cx(), module)) {
|
||||
if (!JS::ModuleLink(jsapi.cx(), module)) {
|
||||
LOG(("ScriptLoadRequest (%p): Instantiate failed", aRequest));
|
||||
MOZ_ASSERT(jsapi.HasException());
|
||||
JS::RootedValue exception(jsapi.cx());
|
||||
|
||||
Reference in New Issue
Block a user