JavaScriptCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 17:28:05 +0000 (17:28 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2006 17:28:05 +0000 (17:28 +0000)
commit5a910f34d2d11c0ff52e0d0caac057d45f9ff3bb
treeddf27ea8369e07623b1e7a433177c7ed679a02f8
parentc52013a3712d9b8a4493cb748f4e802709c271e5
JavaScriptCore:

        Reviewed by Maciej and Darin, landed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5939
          final comma in javascript object prevents parsing

        * kjs/grammar.y: Added rule to allow trailing comma in
        object construction.

LayoutTests:

        Reviewed by Maciej, reworked and landed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5939
          final comma in javascript object prevents parsing

        * fast/js/resources/object-extra-comma.js: Added.
        * fast/js/object-extra-comma.html: Added.
        * fast/js/object-extra-comma-expected.txt: Added.

        * fast/js/resources/js-test-pre.js: Fixed a typo.

        * fast/js/*: Set some MIME types.

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