Closed
Bug 689308
Opened 13 years ago
Closed 12 years ago
Calling toSource on a parsed script containing array of undefined elements returns smaller array - sample attached
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tntim96, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22 Build ID: 20110902133716 Steps to reproduce: String source = "[,]"; Parser parser = new Parser(); AstRoot astRoot = parser.parse(new StringReader(source), null, 1); System.out.println(astRoot.toSource()); Actual results: Output: [] Expected results: Output: [,]
Comment 1•12 years ago
|
||
Fixed in git master: https://github.com/mozilla/rhino/commit/fd212b0fe0fdb7b3cde06420fae4e350aff98513
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•