Changeset 49962 in webkit


Ignore:
Timestamp:
Oct 22, 2009 9:12:19 PM (14 years ago)
Author:
Joseph Pecoraro
Message:

2009-10-22 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Timothy Hatcher.

Web Inspector: EventListenersSidebarPane TODO No Longer Needed
https://bugs.webkit.org/show_bug.cgi?id=30705

  • inspector/front-end/EventListenersSidebarPane.js:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49960 r49962  
     12009-10-22  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: EventListenersSidebarPane TODO No Longer Needed
     6        https://bugs.webkit.org/show_bug.cgi?id=30705
     7
     8        * inspector/front-end/EventListenersSidebarPane.js:
     9
    1102009-10-22  Alexey Proskuryakov  <ap@apple.com>
    211
  • trunk/WebCore/inspector/front-end/EventListenersSidebarPane.js

    r49940 r49962  
    204204        if (node.nodeType === Node.DOCUMENT_NODE)
    205205            return "document";
    206        
     206
    207207        return appropriateSelectorForNode(node);
    208208    },
     
    210210    _getFunctionDisplayName: function()
    211211    {
    212         // TODO: v8 does not yet provide the raw function, this handles such a case with a placeholder
    213         // I didn't make this a UIString because it should be implemented eventually.
    214         if (!this.eventListener.listener)
    215             return "(listener)";
    216 
    217         // Requires that Function.toString() return at least the function's signature
     212        // Requires that Function.toString() return at least the function's signature.
    218213        var match = this.eventListener.listener.toString().match(/function ([^\(]+?)\(/);
    219214        return (match ? match[1] : WebInspector.UIString("(anonymous function)"));
Note: See TracChangeset for help on using the changeset viewer.