LibWeb: Add an Internals method to dump the GC graph

This commit is contained in:
Tim Ledbetter 2025-11-04 01:49:40 +00:00 committed by Andreas Kling
parent ab00a4dc1f
commit 74940726d0
Notes: github-actions[bot] 2025-11-04 09:35:39 +00:00
4 changed files with 12 additions and 0 deletions

View file

@ -57,6 +57,7 @@ interface Internals {
readonly attribute boolean headless;
DOMString dumpDisplayList();
DOMString dumpGCGraph();
// Returns the shadow root of the element, if it has one, even if it's not normally accessible to JS.
ShadowRoot? getShadowRoot(Element element);