« Bugzilla Issues Index
#82 — JSON.parse 15.12.2 step 3 asks for a bogus parse
- bug_id:
82
- creation_ts:
2011-03-30 16:52:00 -0700
- short_desc:
JSON.parse 15.12.2 step 3 asks for a bogus parse
- delta_ts:
2015-10-02 13:33:43 -0700
- product:
ECMA-262, Editions 5 and 5.1
- component:
technical content
- version:
Edition 5.1
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- blocked:
153
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- cc:
brterlso
- commentid:
176
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-03-30 16:52:12 -0700
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:
576
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-01-12 12:16:51 -0800
set IN_PROGRESS to indicated this should go into ES5.1 Errata.