On 11/20/17 6:28 AM, Gijs Kruitbosch wrote:
Devtools' inspector lets you see which DOM nodes have event listeners attached to them. It would be neat if they could provide the same support in the debugger for instances of EventTarget (or any "subclasses").
Hmm. So there are at least three possible things you might be asking for here:
1) In the existing debugger "events" view, include EventTargets other than windows and nodes.
2) When examining an object that happens to be an EventTarget in the console, provide some UI to see its event listeners (similar to the "ev" marker on nodes in the inspector).
3) When examining an object that happens to be an EventTarget in the debugger (e.g. in the watch expression window? Where else?) provide some UI to see its event listeners.
Was it one of those? Or something else? -Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform