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/base/nsJSUtils.h | |
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/base/nsJSUtils.h')
-rw-r--r-- | dom/base/nsJSUtils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/base/nsJSUtils.h b/dom/base/nsJSUtils.h index 4affab2d3..9eea6ae83 100644 --- a/dom/base/nsJSUtils.h +++ b/dom/base/nsJSUtils.h @@ -116,11 +116,11 @@ public: JS::CompileOptions &aCompileOptions, JS::MutableHandle<JSObject*> aModule); - static nsresult ModuleDeclarationInstantiation(JSContext* aCx, - JS::Handle<JSObject*> aModule); + static nsresult ModuleInstantiate(JSContext* aCx, + JS::Handle<JSObject*> aModule); - static nsresult ModuleEvaluation(JSContext* aCx, - JS::Handle<JSObject*> aModule); + static nsresult ModuleEvaluate(JSContext* aCx, + JS::Handle<JSObject*> aModule); // Returns false if an exception got thrown on aCx. Passing a null // aElement is allowed; that wil produce an empty aScopeChain. |