Closed Bug 1302458 Opened 9 years ago Closed 9 years ago

monitorEvents and unmonitorEvents

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1165138

People

(Reporter: ato, Unassigned)

Details

Blink implements a series of JS monitoring functions in their devtools API available from the JS console. Amongst them are monitorEvents() and unmonitorEvents() that logs to console whenever the object receives an event from the passed events array, or all events by default. The relevant documentation here is: https://developers.google.com/web/tools/chrome-devtools/debug/command-line/events monitorEvents(object [, events]): https://developers.google.com/web/tools/chrome-devtools/debug/command-line/command-line-reference#monitoreventsobject-events unmonitorEvents(object [, events]): https://developers.google.com/web/tools/chrome-devtools/debug/command-line/command-line-reference#unmonitoreventsobject-events This is a feature request for Firefox’ devtools to offer the same monitoring capabilities. I’ve personally found them useful as a debugging technique when working on making Marionette/WebDriver dispatch the right DOM events for interaction.
Thanks for the report. This is being tracked in Bug 1165138
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.