diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:49:15 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:49:15 +0200 |
commit | b2ec36808a240cd8169190168c915cd0463f8c87 (patch) | |
tree | f20af67fd25c3aab72d24a4dc0df3a587f085525 /js/src/builtin/Module.js | |
parent | 7d38fbd5e1fdae628c9b2c54060885bdeca248c1 (diff) | |
download | UXP-b2ec36808a240cd8169190168c915cd0463f8c87.tar UXP-b2ec36808a240cd8169190168c915cd0463f8c87.tar.gz UXP-b2ec36808a240cd8169190168c915cd0463f8c87.tar.lz UXP-b2ec36808a240cd8169190168c915cd0463f8c87.tar.xz UXP-b2ec36808a240cd8169190168c915cd0463f8c87.zip |
Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects per ES2017
Diffstat (limited to 'js/src/builtin/Module.js')
-rw-r--r-- | js/src/builtin/Module.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/builtin/Module.js b/js/src/builtin/Module.js index 7b70a7fe8..a678864d1 100644 --- a/js/src/builtin/Module.js +++ b/js/src/builtin/Module.js @@ -318,11 +318,3 @@ function ModuleEvaluation() return EvaluateModule(module); } _SetCanonicalName(ModuleEvaluation, "ModuleEvaluation"); - -function ModuleNamespaceEnumerate() -{ - if (!IsObject(this) || !IsModuleNamespace(this)) - return callFunction(CallModuleMethodIfWrapped, this, "ModuleNamespaceEnumerate"); - - return CreateListIterator(ModuleNamespaceExports(this)); -} |