Closed Bug 851478 Opened 12 years ago Closed 12 years ago

DevTools could use some event handler inspection logic

Categories

(DevTools :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 850499

People

(Reporter: freddy, Unassigned)

Details

Inspired by Visual Event 2 (which is awesome), we could have something similar already built-in with devtools. In case you don't know Visual Event 2: It's a bookmarklet that you can load to highlight elements which have a event handler assigned to them. Going over these highlighted elements shows you which event handlers are set (onfocus, onclick, ...) and displays the source for them. See also http://www.sprymedia.co.uk/article/Visual+Event+2
Yes, this is something we plan ... in fact, you have duped bug 850499. I will implement an API that allows us to gather this information so that it can be displayed: - When inspecting via the markup view. - When a node is locked (next to the selector). - Via GCLI ... page overlay containing all information: a. in boxes next to each element containing events. b. in a box next to a specific element.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.