RESOLVED FIXED 28779
JSON parser accepts trailing comma in array literals
https://bugs.webkit.org/show_bug.cgi?id=28779
Summary JSON parser accepts trailing comma in array literals
Oliver Hunt
Reported 2009-08-27 12:07:28 PDT
JSON.parse("[1,]") succeeds but is invalid per the JSON spec.
Attachments
Patch v1 (3.14 KB, patch)
2009-08-27 12:10 PDT, Oliver Hunt
ap: review+
Oliver Hunt
Comment 1 2009-08-27 12:10:43 PDT
Created attachment 38677 [details] Patch v1
Alexey Proskuryakov
Comment 2 2009-08-27 12:13:24 PDT
Comment on attachment 38677 [details] Patch v1 r=me
Oliver Hunt
Comment 3 2009-08-27 12:15:52 PDT
Committed r47828
Note You need to log in before you can comment on or make changes to this bug.