Changeset 182647 in webkit
- Timestamp:
- Apr 10, 2015 6:00:07 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r182643 r182647 1 2015-04-10 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 ES6: Iterator toString names should be consistent 4 https://bugs.webkit.org/show_bug.cgi?id=142424 5 6 Reviewed by Geoffrey Garen. 7 8 Iterator Object Names in the spec right now have spaces. 9 In our implementation some do and some don't. 10 This patch aligns JSC to the spec. 11 12 * runtime/JSArrayIterator.cpp: 13 * runtime/JSStringIterator.cpp: 14 * tests/stress/iterator-names.js: Added. 15 (test): 16 (iter): 17 (check): 18 1 19 2015-04-10 Michael Saboff <msaboff@apple.com> 2 20 -
trunk/Source/JavaScriptCore/runtime/JSArrayIterator.cpp
r181203 r182647 34 34 namespace JSC { 35 35 36 const ClassInfo JSArrayIterator::s_info = { "Array Iterator", &Base::s_info, 0, CREATE_METHOD_TABLE(JSArrayIterator) };36 const ClassInfo JSArrayIterator::s_info = { "Array Iterator", &Base::s_info, 0, CREATE_METHOD_TABLE(JSArrayIterator) }; 37 37 38 38 void JSArrayIterator::finishCreation(VM& vm, JSGlobalObject*, ArrayIterationKind kind, JSObject* iteratedObject) -
trunk/Source/JavaScriptCore/runtime/JSStringIterator.cpp
r181203 r182647 33 33 namespace JSC { 34 34 35 const ClassInfo JSStringIterator::s_info = { "String Iterator", &Base::s_info, 0, CREATE_METHOD_TABLE(JSStringIterator) };35 const ClassInfo JSStringIterator::s_info = { "String Iterator", &Base::s_info, 0, CREATE_METHOD_TABLE(JSStringIterator) }; 36 36 37 37 void JSStringIterator::finishCreation(VM& vm, JSGlobalObject*, JSString* iteratedString)
Note: See TracChangeset
for help on using the changeset viewer.