Bug 26640 - JSON.stringify needs to special case Boolean objects
: JSON.stringify needs to special case Boolean objects
Status: RESOLVED FIXED
: WebKit
JavaScriptCore
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
:
: 26249
  Show dependency treegraph
 
Reported: 2009-06-22 22:08 PST by
Modified: 2009-06-22 22:45 PST (History)


Attachments
Special case Boolean (8.80 KB, patch)
2009-06-22 22:34 PST, Oliver Hunt
ap: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


------- Comment #1 From 2009-06-22 22:34:58 PST -------
Created an attachment (id=31705) [details]
Special case Boolean
------- Comment #2 From 2009-06-22 22:42:31 PST -------
(From update of attachment 31705 [details])
r=me. LayoutTests/ChangeLog should mention that you added other primitive tests, not just booleans.
------- Comment #3 From 2009-06-22 22:45:30 PST -------
Committing to http://svn.webkit.org/repository/webkit/trunk ...
    M    JavaScriptCore/ChangeLog
    M    JavaScriptCore/runtime/JSONObject.cpp
    M    LayoutTests/ChangeLog
    M    LayoutTests/fast/js/JSON-stringify-expected.txt
    M    LayoutTests/fast/js/resources/JSON-stringify.js
    M    LayoutTests/fast/js/resources/json2-es5-compat.js
Committed r44974