« Bugzilla Issues Index
#153 — JSON.parse 15.12.2 step 3 asks for a bogus parse
- bug_id:
153
- creation_ts:
2011-07-20 16:41:00 -0700
- short_desc:
JSON.parse 15.12.2 step 3 asks for a bogus parse
- delta_ts:
2012-10-26 15:34:21 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Initial draft July 12, 2011
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- dependson:
82
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- commentid:
350
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-20 16:41:50 -0700
+++ This bug was initially created as a clone of Bug #82 +++
Step 3 says parse and evaluate //JTExt// "as if it was the source text of an ECMASCript //Program//". But a JSON document is not a valid //Program// because //Program// does not allow an object literal to occur at the start of a statement.
//Program// should probably be replaced by //PrimaryExpression//
- commentid:
2074
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-25 17:56:40 -0700
corrected in rev editor's draft
- commentid:
2148
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-10-26 15:34:21 -0700
in October 26, 2012 release draft