[Webkit-unassigned] [Bug 11401] Drosera doesn't understand object.method = function() {} syntax
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 11 23:46:50 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=11401
cederberg at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cederberg at gmail.com
------- Comment #5 from cederberg at gmail.com 2008-03-11 23:46 PDT -------
I've noted that the MochiKit JavaScript library allows assigning a "NAME"
property to anonymous functions. I guess other libraries could have similar
mechanisms (as the ordinary function "name" property is read-only).
Perhaps a work-around for this issue would be for Drosera to print the "NAME"
value if "name" is undefined? It is pretty easy to name all functions in a
namespace with this method by iterating over all properties, objects and
prototypes.
--
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