Created attachment 560279 [details] JsonParserTest.java User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Build ID: 20110902133214 Steps to reproduce: Reviewing the JSONParser implementation revealed a couple of issues: - trailing commas in object and array literals are allowed (invalid per spec) - invalid number literals are allowed - invalid unicode escape sequences are not detected Actual results: No errors were reported by the JSONParser class, that means the expected errors in the JUnit test did not match. Expected results: The provided JUnit test case should pass without any errors.
Pull request at https://github.com/mozilla/rhino/pull/62
PR was merged.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.