Bug 81782

Summary: Web Inspector: event listener section doesn't show all event listeners of the element ancestors
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch pfeldman: review+

Yury Semikhatsky
Reported 2012-03-21 07:40:20 PDT
If selected node doesn't have any listener then the section will be empty. Currently ancestors event listeners are filtered by event listener names of the selected node.
Attachments
Patch (16.40 KB, patch)
2012-03-21 07:48 PDT, Yury Semikhatsky
no flags
Patch (16.90 KB, patch)
2012-03-21 08:58 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2012-03-21 07:48:53 PDT
Pavel Feldman
Comment 2 2012-03-21 08:17:52 PDT
Comment on attachment 133039 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133039&action=review > Source/WebCore/inspector/InspectorDOMAgent.cpp:726 > +void InspectorDOMAgent::getEventListenersForNode(ErrorString* error, int nodeId, RefPtr<InspectorArray>& listenersArray) Please rebaseline > Source/WebCore/inspector/InspectorDOMAgent.cpp:732 > + *error = "No such node"; Please use assertNode
Yury Semikhatsky
Comment 3 2012-03-21 08:58:10 PDT
Yury Semikhatsky
Comment 4 2012-03-21 08:59:47 PDT
(In reply to comment #2) > (From update of attachment 133039 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133039&action=review > > > Source/WebCore/inspector/InspectorDOMAgent.cpp:726 > > +void InspectorDOMAgent::getEventListenersForNode(ErrorString* error, int nodeId, RefPtr<InspectorArray>& listenersArray) > > Please rebaseline > Done. > > Source/WebCore/inspector/InspectorDOMAgent.cpp:732 > > + *error = "No such node"; > > Please use assertNode Done.
Yury Semikhatsky
Comment 5 2012-03-21 09:10:02 PDT
Note You need to log in before you can comment on or make changes to this bug.