[Webkit-unassigned] [Bug 28117] Native JSON.stringify does not omit functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 11:27:45 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28117





--- Comment #11 from Oliver Hunt <oliver at apple.com>  2009-08-12 11:27:45 PDT ---
(In reply to comment #10)
> What was the test against FF?  RegExp should return false to IsCallable. 
> Safari and webkit have been incorrectly reporting typeof /a/ === 'function' for
> several versions.

RegExps are callable -- eg. /b/("abc") -- the regex is callable, that means
that the internal property IsCallable() must return true, which means that
regexps should not be serialised.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list