diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-07 12:27:02 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-10 18:31:16 +0000 |
commit | e29a8bd113594a55d5087989c90317cc86d03f48 (patch) | |
tree | 76c7a20724b0ab23fb5e6ee8ed25888df89ea55e | |
parent | 83abc5af599d4531c68c2e7a84caab9545854594 (diff) | |
download | UXP-e29a8bd113594a55d5087989c90317cc86d03f48.tar UXP-e29a8bd113594a55d5087989c90317cc86d03f48.tar.gz UXP-e29a8bd113594a55d5087989c90317cc86d03f48.tar.lz UXP-e29a8bd113594a55d5087989c90317cc86d03f48.tar.xz UXP-e29a8bd113594a55d5087989c90317cc86d03f48.zip |
Issue #618 - Fix typo and remove old function declarations.
-rw-r--r-- | js/src/builtin/Module.js | 2 | ||||
-rw-r--r-- | js/src/builtin/ModuleObject.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/js/src/builtin/Module.js b/js/src/builtin/Module.js index b3365b505..64d62d216 100644 --- a/js/src/builtin/Module.js +++ b/js/src/builtin/Module.js @@ -509,7 +509,7 @@ function ResolutionError(resolution, kind, name, line, column) function ModuleEvaluate() { if (!IsObject(this) || !IsModule(this)) - return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluatie"); + return callFunction(CallModuleMethodIfWrapped, this, "ModuleEvaluate"); // Step 1 let module = this; diff --git a/js/src/builtin/ModuleObject.cpp b/js/src/builtin/ModuleObject.cpp index 09193c9ca..30e7120c0 100644 --- a/js/src/builtin/ModuleObject.cpp +++ b/js/src/builtin/ModuleObject.cpp @@ -1034,8 +1034,6 @@ GlobalObject::initModuleProto(JSContext* cx, Handle<GlobalObject*> global) static const JSFunctionSpec protoFunctions[] = { JS_SELF_HOSTED_FN("getExportedNames", "ModuleGetExportedNames", 1, 0), JS_SELF_HOSTED_FN("resolveExport", "ModuleResolveExport", 2, 0), - JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleDeclarationInstantiation", 0, 0), - JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluation", 0, 0), JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleInstantiate", 0, 0), JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluate", 0, 0), JS_FS_END |