Changeset 21473 in webkit
- Timestamp:
- May 14, 2007 6:53:54 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r21468 r21473 1 2007-05-14 Kimmo Kinnunen <kimmok@iki.fi> 2 3 Reviewed by Darin. 4 5 - Fixes http://bugs.webkit.org/show_bug.cgi?id=13622 (Decompiler 6 omits trailing comma in array literal) 7 8 * kjs/nodes2string.cpp: 9 (ArrayNode::streamTo): print extra ',' in case there was elision 10 commas (check opt member var) and array elements present 11 in the array expression 12 1 13 2007-05-14 Geoffrey Garen <ggaren@apple.com> 2 14 -
trunk/JavaScriptCore/kjs/nodes2string.cpp
r21409 r21473 178 178 for (int i = 0; i < elision; i++) 179 179 s << ","; 180 // Parser consumes one elision comma if there's array elements 181 // present in the expression. 182 if (opt && element) 183 s << ","; 180 184 s << "]"; 181 185 } -
trunk/LayoutTests/ChangeLog
r21472 r21473 1 2007-05-14 Kimmo Kinnunen <kimmok@iki.fi> 2 3 Reviewed by Darin. 4 5 - Tests for fix to http://bugs.webkit.org/show_bug.cgi?id=13622 (Decompiler omits 6 trailing comma in array literal) 7 8 * fast/js/resources/toString-elision-trailing-comma.js: Added. 9 * fast/js/toString-elision-trailing-comma-expected.txt: Added. 10 * fast/js/toString-elision-trailing-comma.html: Added. 11 1 12 2007-05-14 Mitz Pettel <mitz@webkit.org> 2 13
Note: See TracChangeset
for help on using the changeset viewer.