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.
Created attachment 133039 [details] Patch
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
Created attachment 133052 [details] Patch
(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.
Committed r111549: <http://trac.webkit.org/changeset/111549>