Implement Firebug's getEventListeners()

NEW
Unassigned

Status

()

Firefox
Developer Tools: Console
--
enhancement
3 years ago
2 years ago

People

(Reporter: canuckistani, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 8604957 [details]
1024068_–_Page_not_scrolls_to_focus_in_inspector_and_Enter_Bug__Firefox.png

This is a pretty handy Firebug command, returns all event listeners for the provided node.

Comment 1

3 years ago
Yes please. :)

Comment 2

3 years ago
```irc
12:47 pbrosset ≻ in the backend we use something called getListenerInfoFor to get the list
12:47 pbrosset ≻ but that's not available to content
12:47 pbrosset ≻ it comes from the eventListenerService
```
(In reply to Erwann Mest from comment #2)
> ```irc
> 12:47 pbrosset ≻ in the backend we use something called getListenerInfoFor
> to get the list
> 12:47 pbrosset ≻ but that's not available to content
> 12:47 pbrosset ≻ it comes from the eventListenerService
> ```
See http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/event-parsers.js#156
Duplicate of this bug: 1227044
Severity: normal → enhancement
Version: 40 Branch → unspecified
You need to log in before you can comment on or make changes to this bug.