[Webkit-unassigned] [Bug 30888] Implementation of String.quote() method

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 5 00:32:57 PST 2009


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





--- Comment #7 from Oliver Hunt <oliver at apple.com>  2009-11-05 00:32:57 PDT ---
...
> Only difference from SJSON.stringify() I was able to find is encoding of
> vertical tab character(\v)
> 
> I'm not advocate of nonstandard methods but I thought it would be useful if
> Webkit has same functionality.
> 

If someone _really_ wanted this (noting that even if we provide it, it won't
work in IE, Opera, or chrome) they can always do

String.prototype.quote = String.prototype.quote || JSON.stringify;

And they're done...

--Oliver

-- 
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