Bug 28788 - JSON.stringify replacer array does not accept values that are not string primitives.
Summary: JSON.stringify replacer array does not accept values that are not string prim...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 16:32 PDT by Oliver Hunt
Modified: 2009-08-27 17:27 PDT (History)
0 users

See Also:


Attachments
Patch v1 (4.35 KB, patch)
2009-08-27 16:37 PDT, Oliver Hunt
no flags Details | Formatted Diff | Diff
Patch v1 (5.29 KB, patch)
2009-08-27 16:51 PDT, Oliver Hunt
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hunt 2009-08-27 16:32:49 PDT
JSON.stringify spec has been updated to support numbers in addition to strings, and their boxed equivalents.
Comment 1 Oliver Hunt 2009-08-27 16:37:57 PDT
Created attachment 38697 [details]
Patch v1
Comment 2 Oliver Hunt 2009-08-27 16:51:00 PDT
Created attachment 38699 [details]
Patch v1
Comment 3 Adam Roben (:aroben) 2009-08-27 16:53:09 PDT
Comment on attachment 38699 [details]
Patch v1

r=me
Comment 4 Oliver Hunt 2009-08-27 17:27:42 PDT
committed r47847