Changeset 204160 in webkit
- Timestamp:
- Aug 4, 2016, 7:50:19 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r204140 r204160 1 2016-08-04 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 [ES6] JSModuleNamespaceObject's Symbol.iterator function should have name 4 https://bugs.webkit.org/show_bug.cgi?id=160549 5 6 Reviewed by Saam Barati. 7 8 * modules/namespace-object-symbol-iterator-name.js: Added. 9 * test262.yaml: 10 1 11 2016-08-04 Keith Miller <keith_miller@apple.com> 2 12 -
trunk/JSTests/test262.yaml
r204111 r204160 71251 71251 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:module] 71252 71252 - path: test262/test/language/module-code/namespace/Symbol.iterator/name.js 71253 cmd: runTest262 : fail, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:module]71253 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js", "../../../../../harness/propertyHelper.js"], [:module] 71254 71254 - path: test262/test/language/module-code/namespace/Symbol.iterator/prop-desc.js 71255 71255 cmd: runTest262 :normal, "NoException", ["../../../../../harness/assert.js", "../../../../../harness/sta.js"], [:module] -
trunk/Source/JavaScriptCore/ChangeLog
r204140 r204160 1 2016-08-04 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 [ES6] JSModuleNamespaceObject's Symbol.iterator function should have name 4 https://bugs.webkit.org/show_bug.cgi?id=160549 5 6 Reviewed by Saam Barati. 7 8 ES6 Module's namespace[Symbol.iterator] function should have the name, "[Symbol.iterator]". 9 10 * runtime/JSModuleNamespaceObject.cpp: 11 (JSC::JSModuleNamespaceObject::finishCreation): 12 1 13 2016-08-04 Keith Miller <keith_miller@apple.com> 2 14 -
trunk/Source/JavaScriptCore/runtime/JSModuleNamespaceObject.cpp
r201703 r204160 73 73 74 74 m_moduleRecord.set(vm, this, moduleRecord); 75 JSC_NATIVE_FUNCTION(vm.propertyNames->iteratorSymbol, moduleNamespaceObjectSymbolIterator, DontEnum, 0); 75 JSFunction* iteratorFunction = JSFunction::create(vm, globalObject, 0, ASCIILiteral("[Symbol.iterator]"), moduleNamespaceObjectSymbolIterator, NoIntrinsic); 76 putDirect(vm, vm.propertyNames->iteratorSymbol, iteratorFunction, DontEnum); 76 77 putDirect(vm, vm.propertyNames->toStringTagSymbol, jsString(&vm, "Module"), DontEnum | ReadOnly); 77 78
Note:
See TracChangeset
for help on using the changeset viewer.