Closed
Bug 686806
Opened 13 years ago
Closed 9 years ago
JSONParser parses invalid JSON input
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: anba, Unassigned)
Details
Attachments
(1 file)
1.56 KB,
text/plain
|
Details |
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.
Reporter | ||
Comment 1•12 years ago
|
||
Pull request at https://github.com/mozilla/rhino/pull/62
Reporter | ||
Comment 2•9 years ago
|
||
PR was merged.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•