diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-03 14:21:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-03 14:21:27 +0000 |
commit | 10e26244192e7cb25663f6dbf47aec215563c038 (patch) | |
tree | bb23c8bbe09768b3f614293f9824bf1054e25e2e /dom/script | |
parent | 74c48bcc74fe566d8555eed6792d0bdb2003fff3 (diff) | |
download | UXP-10e26244192e7cb25663f6dbf47aec215563c038.tar UXP-10e26244192e7cb25663f6dbf47aec215563c038.tar.gz UXP-10e26244192e7cb25663f6dbf47aec215563c038.tar.lz UXP-10e26244192e7cb25663f6dbf47aec215563c038.tar.xz UXP-10e26244192e7cb25663f6dbf47aec215563c038.zip |
Issue #618 - Match JSAPI names with the changes in 9ca74147225eed305e28c7887f9b2251aeeb0f36
Ref: BZ 1388728
Diffstat (limited to 'dom/script')
-rw-r--r-- | dom/script/ScriptLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/script/ScriptLoader.cpp b/dom/script/ScriptLoader.cpp index 7aca04da5..736bb4349 100644 --- a/dom/script/ScriptLoader.cpp +++ b/dom/script/ScriptLoader.cpp @@ -888,7 +888,7 @@ ScriptLoader::InstantiateModuleTree(ModuleLoadRequest* aRequest) NS_ENSURE_SUCCESS(rv, false); JS::Rooted<JSObject*> module(jsapi.cx(), ms->ModuleRecord()); - bool ok = NS_SUCCEEDED(nsJSUtils::ModuleDeclarationInstantiation(jsapi.cx(), module)); + bool ok = NS_SUCCEEDED(nsJSUtils::ModuleInstantiate(jsapi.cx(), module)); JS::RootedValue exception(jsapi.cx()); if (!ok) { @@ -1953,7 +1953,7 @@ ScriptLoader::EvaluateScript(ScriptLoadRequest* aRequest) } else { JS::Rooted<JSObject*> module(aes.cx(), ms->ModuleRecord()); MOZ_ASSERT(module); - rv = nsJSUtils::ModuleEvaluation(aes.cx(), module); + rv = nsJSUtils::ModuleEvaluate(aes.cx(), module); } } else { JS::CompileOptions options(aes.cx()); |