Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects per ES2017

This commit is contained in:
janekptacijarabaci 2018-04-14 08:49:15 +02:00 • committed by Roy Tam
commit 99f20bdc22
4 changed files with 1 additions and 63 deletions

View file

@ -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));
}