[ES6] JSModuleNamespaceObject's Symbol.iterator function should have name
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Aug 2016 02:50:19 +0000 (02:50 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Aug 2016 02:50:19 +0000 (02:50 +0000)
commit55c2ffde453de6aeafd9f84743218b93424ccd9c
tree6beef5e7d1661bd5e21435fbf40de2f9cd74f2f0
parent238f2b15b2e23839a9ec0edc9dc2d1f0623069ac
[ES6] JSModuleNamespaceObject's Symbol.iterator function should have name
https://bugs.webkit.org/show_bug.cgi?id=160549

Reviewed by Saam Barati.

JSTests:

* modules/namespace-object-symbol-iterator-name.js: Added.
* test262.yaml:

Source/JavaScriptCore:

ES6 Module's namespace[Symbol.iterator] function should have the name, "[Symbol.iterator]".

* runtime/JSModuleNamespaceObject.cpp:
(JSC::JSModuleNamespaceObject::finishCreation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/modules/namespace-object-symbol-iterator-name.js [new file with mode: 0644]
JSTests/test262.yaml
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSModuleNamespaceObject.cpp