Add option in the tracer to track all DOM Mutations
Categories
(DevTools :: Debugger, enhancement)
Tracking
(firefox125 fixed)
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(3 files)
Bug 1848179 added tracking all the DOM events.
We could also track all the DOM Mutations in the tracer.
This would help identify changes made to the DOM, as well as discover the callsites modifying the DOM.
Assignee | ||
Comment 1•2 years ago
|
||
For some unexplained reason, conn
could be null.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Also allow logging trace whenever any DOM Element get added, removed or modified.
For now this is exposed only via the console command via:
:tracer --dom-mutations (for all types of mutation)
:tracer --dom-mutations add,attributes,remove (coma separated list of mutation types you want to listen for)
Also revise the handling of "isWorker" so that all checks have the best possible check.
Assignee | ||
Comment 3•1 years ago
|
||
We weren't consistant in all places checking for the worker codepath.
Also move the initialization of "wait for next user interaction" out of the contructor.
Comment 5•1 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ae72731d9172
https://hg.mozilla.org/mozilla-central/rev/752268d6f3e7
https://hg.mozilla.org/mozilla-central/rev/172bebc247d6
Description
•