[Webkit-unassigned] [Bug 11401] Web Inspector doesn't understand object.method = function() {} syntax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 2 22:48:57 PDT 2009


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


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joepeck at webkit.org




--- Comment #8 from Joseph Pecoraro <joepeck at webkit.org>  2009-10-02 22:48:57 PDT ---
Is this solved by the Inspector using function's "displayName" property like
comment 5 suggests and as detailed in this April 2009 article:
http://www.alertdebugging.com/2009/04/29/building-a-better-javascript-profiler-with-webkit/

For the example in this bug report:

  SomeObj.someMethod = function(a,b) { ... };
  SomeObj.someMethod.displayName = 'SomeObj.someMethod';

Will properly display SomeObj.someMethod in the profiler.

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