[Webkit-unassigned] [Bug 11609] New: Function.toString removes commas from the function body
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 15 17:17:35 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11609
Summary: Function.toString removes commas from the function body
Product: WebKit
Version: 419.x
Platform: PC
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: bleroy at microsoft.com
function foo() {
var e = {name: "value", type: Number, integer: true};
return e;
}
alert(foo.toString().indexOf(','));
Should show a positive integer, it shows -1. Seems to be fixed in the latest
WebKit build but it's pretty bad as you can't eval a function's toString and
get a working function.
--
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