2007-05-11 Kimmo Kinnunen <kimmok@iki.fi>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 May 2007 08:51:49 +0000 (08:51 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 May 2007 08:51:49 +0000 (08:51 +0000)
commitac899ce1b7aa8e82c5e68e5507cea7dd0cd29614
tree09d9bd12f3d5e160e51dc32170fd5f7e9809df49
parent61db4a7fc5989d931685bbe3c2ab36a1cc7c9574
2007-05-11  Kimmo Kinnunen  <kimmok@iki.fi>

        Reviewed by Darin.

        - Fixes http://bugs.webkit.org/show_bug.cgi?id=13622 (Decompiler omits trailing
          comma in array literal)

        * kjs/grammar.y: Add the comma that parser consumes in elision
          when the array has trailing commas.

2007-05-11  Kimmo Kinnunen  <kimmok@iki.fi>

        Reviewed by Darin.

        - Tests for fix to http://bugs.webkit.org/show_bug.cgi?id=13622 (Decompiler omits
          trailing comma in array literal)

        * fast/js/resources/toString-elision-trailing-comma.js: Added.
        * fast/js/toString-elision-trailing-comma-expected.txt: Added.
        * fast/js/toString-elision-trailing-comma.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/grammar.y
LayoutTests/ChangeLog
LayoutTests/fast/js/resources/toString-elision-trailing-comma.js [new file with mode: 0644]
LayoutTests/fast/js/toString-elision-trailing-comma-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/toString-elision-trailing-comma.html [new file with mode: 0644]