[Webkit-unassigned] [Bug 9182] New: Add support for toString and/or uneval

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 31 02:34:36 PDT 2006


           Summary: Add support for toString and/or uneval
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: jruderman at gmail.com

Firefox's toString and uneval are pretty handy.  It would be nice if I could
use them in WebKit, instead of having to serialize strings and objects manually
when I want to port something from Gecko to WebKit.

uneval("foo") --> "\"foo\""
uneval({a:1}) --> "({a:1})"

I'm not sure if uneval and toSource are the same.  I have the feeling they're

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list