diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-03 14:21:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-10 18:30:03 +0000 |
commit | ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14 (patch) | |
tree | 48d9bbaeb28e7dbc76317b5c5324404aebb0dcc3 /dom/base/nsJSUtils.h | |
parent | 7bf3e4c46475a7aa936d702eb38d65d9126008f2 (diff) | |
download | UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.gz UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.lz UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.xz UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.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. |