Display all the DOM events of a record in the Debugger Tracer Sidebar
Categories
(DevTools :: Debugger, enhancement)
Tracking
(firefox132 fixed)
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: ochameau)
References
(Blocks 4 open bugs)
Details
Attachments
(5 external files)
The Tracer sidebar only display a few chosen event types at the moment, for clarity.
It would be interesting to be able to display any kind of events so you could really get the full picture of the recording.
This would come with quite some overhead, so we should only have a few chosen items we display by default, and then have a UI that would let the user pick the event types they want to display in the timeline.
We could use a similar UI to what we have in the compatibility panel, where you can access this "setting" through a button, and then it "replaces" the panel content; inside is, we'd have something similar to what we put in the Event Listener breakpoints panel, with all the events organized by category
| Assignee | ||
Comment 1•2 years ago
|
||
Note that all events are displayed. But only some key and some mouse related events get a color.
Green for mouse and blue for key.
All the others are displayed, but with grey color.
A first step may be to provide a color for all event categories (categories being defined in the event breakpoint panel).
Then the left sidebar may be cluttered by too many colors. This is where the UI, allowing the user to see which events are recorded, and only display some of interests may help.
We might have to do both steps at once, as over-colored timeline may be a regression when you mostly care about user interactions.
Otherwise, it sounds great to have a panel replacing the call tree and have this UI update the timeline live. So that you can immediately see which events happen when, as well as see color definitions for all the colors displayed in the timeline.
| Assignee | ||
Comment 2•2 years ago
|
||
That, instead of prefixing them with "DOM | ".
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
| Assignee | ||
Comment 7•2 years ago
|
||
This patch queue doesn't seem to have an impact on DAMP:
https://treeherder.mozilla.org/perfherder/comparesubtest?originalProject=try&newProject=try&newRevision=167e8cffe84f1958727e8c792a34c56e727a09aa&originalSignature=4763542&newSignature=4763542&framework=12&application=firefox&originalRevision=ac8584b795f5bbc6c679e65a4207cce888f884b9&page=1&filter=jstracer
Comment 9•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/17ff552e0f44
https://hg.mozilla.org/mozilla-central/rev/c9a97f8bf5da
https://hg.mozilla.org/mozilla-central/rev/a25473a1a0c8
https://hg.mozilla.org/mozilla-central/rev/3d2492e6d11a
https://hg.mozilla.org/mozilla-central/rev/5ef0b10c016d
Description
•