Closed
Bug 465371
Opened 16 years ago
Closed 16 years ago
Native JSON stringification aborts on functions and xml but returns JS_TRUE
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: sayrer)
References
Details
(Keywords: fixed1.9.1, Whiteboard: fixed-in-tracemonkey)
Attachments
(2 files)
(deleted),
patch
|
sayrer
:
review-
|
Details | Diff | Splinter Review |
(deleted),
patch
|
shaver
:
review+
|
Details | Diff | Splinter Review |
Native JSON stringification aborts on functions and xml but returns JS_TRUE. Patch attached.
Attachment #348590 -
Flags: review?(sayrer)
Reporter | ||
Updated•16 years ago
|
Flags: blocking1.9.1?
Assignee | ||
Updated•16 years ago
|
Assignee: general → sayrer
Assignee | ||
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
Assignee | ||
Updated•16 years ago
|
Attachment #348590 -
Flags: review?(sayrer) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #348590 -
Flags: review+ → review-
Assignee | ||
Comment 1•16 years ago
|
||
This is ok, and the attached patch is wrong.
JSON.stringify(function(){})
should succeed and return undefined. Bug 459161 will take care of the edge cases.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•16 years ago
|
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 2•16 years ago
|
||
duh, there was a bug here.
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #363972 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #363972 -
Flags: review? → review?(shaver)
Attachment #363972 -
Flags: review?(shaver) → review+
Comment on attachment 363972 [details] [diff] [review]
continue, don't break
I almost found this bug in review, but talked myself out of worrying about that break. :(
Assignee | ||
Updated•16 years ago
|
Whiteboard: fixed-in-tracemonkey
Assignee | ||
Comment 6•16 years ago
|
||
Assignee | ||
Comment 7•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•16 years ago
|
||
Keywords: fixed1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•