Detached DOM elements tool

32 views
Skip to first unread message

Jayson Chen

unread,
May 1, 2024, 5:02:16 PM5/1/24
to devtools-dev
Hey everyone,

I've written an explainer describing a feature we'd like to introduce to effectively identify detached DOM elements to prevent memory leaks. We're planning to make it an intern project and let the intern work on it over the upcoming summer. Any feedback is welcomed!

https://docs.google.com/document/d/1b4jSkDB7T-3G16O_9OVN1XG-ET7UD5JpFnn0bxm3PTk/edit?usp=sharing

Thanks,
Jayson

Jayson Chen

unread,
May 7, 2024, 7:50:32 PM5/7/24
to devtools-dev
Thank you all for the feedback in the detached element tool explainer! We updated the design based off all the inputs in mind, and here's a quick summary of what changed:

- Instead of creating a new CDP command, extending the existing takeHeapSnapshot CDP command to support the scenario.
- Instead of placing the tool in element panel side pane, placing it as part of the addition to the existing memory panel.


Thanks,
Jayson
Reply all
Reply to author
Forward
0 new messages