JSON.stringify(_1, _2, space) doesn't implement space=boxed string/number correctly

RESOLVED FIXED in mozilla6

Status

()

Core
JavaScript Engine
--
minor
RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: Waldo, Assigned: Waldo)

Tracking

Trunk
mozilla6
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 attachment, 1 obsolete attachment)

Created attachment 520731 [details] [diff] [review]
Patch and test

Noticed in passing while doing other JSON work.  It's nitpicky to be sure, but it's what the spec says, implementations generally follow the spec here, and there's no good reason to do otherwise.
Attachment #520731 - Flags: review?(pbiggar)
Created attachment 525822 [details] [diff] [review]
Unbitrotted
Attachment #520731 - Attachment is obsolete: true
Attachment #520731 - Flags: review?(pbiggar)
Attachment #525822 - Flags: review?(pbiggar)

Updated

6 years ago
Attachment #525822 - Flags: review?(pbiggar) → review+
http://hg.mozilla.org/tracemonkey/rev/b779f8f08c79
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla6
cdleary-bot mozilla-central merge info:
http://hg.mozilla.org/mozilla-central/rev/b779f8f08c79
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.