[Webkit-unassigned] [Bug 17012] New: JSC an't round trip an object literal
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 25 19:01:43 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17012
Summary: JSC an't round trip an object literal
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Keywords: HasReduction, NeedsRadar
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: oliver at apple.com
CC: darin at apple.com
JSC looses a pair of parenthesis when performing toString on a function, so
that
function f(){
({}).x;
}
f.toString()
produces
function f(){
{}.x;
}
which is invalid.
This was found by jsfunfuzz
--
Configure bugmail: http://bugs.webkit.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