summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/Module.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:49:15 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:49:15 +0200
commitb2ec36808a240cd8169190168c915cd0463f8c87 (patch)
treef20af67fd25c3aab72d24a4dc0df3a587f085525 /js/src/builtin/Module.js
parent7d38fbd5e1fdae628c9b2c54060885bdeca248c1 (diff)
downloadUXP-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.js8
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));
-}