archives

« Bugzilla Issues Index

#153 — JSON.parse 15.12.2 step 3 asks for a bogus parse


+++ 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//


corrected in rev editor's draft


in October 26, 2012 release draft