Changeset 49962 in webkit
- Timestamp:
- Oct 22, 2009 9:12:19 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49960 r49962 1 2009-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 1 10 2009-10-22 Alexey Proskuryakov <ap@apple.com> 2 11 -
trunk/WebCore/inspector/front-end/EventListenersSidebarPane.js
r49940 r49962 204 204 if (node.nodeType === Node.DOCUMENT_NODE) 205 205 return "document"; 206 206 207 207 return appropriateSelectorForNode(node); 208 208 }, … … 210 210 _getFunctionDisplayName: function() 211 211 { 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. 218 213 var match = this.eventListener.listener.toString().match(/function ([^\(]+?)\(/); 219 214 return (match ? match[1] : WebInspector.UIString("(anonymous function)"));
Note: See TracChangeset
for help on using the changeset viewer.