Closed Bug 1066672 Opened 10 years ago Closed 10 years ago

[devtools] Can't inspect shadow-dom in the inspector

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 777674

People

(Reporter: wilsonpage, Unassigned)

References

Details

Currently we have no way of inspecting shadow-dom in devtools inspector. This is making developement/debugging tricky, especially as Gaia is ramping up web-component usage.
So what we need here are hooks for devtools to use, right?  What are the right hooks?
Flags: needinfo?(pbrosset)
I haven't had the chance to follow bug 777674 as closely as I wanted to, but for me, that's the bug that was originally open for supporting pseudo-elements, xbl AND shadow dom in the devtools.
In order to narrow the scope and make it easier to ship something, I thing the bug is only being used right now for pseudo-elements, but the platform ground work done there is probably going to be useful to support shadow dom in the near future too.
NI? bgrins as he sure knows more.
Flags: needinfo?(pbrosset) → needinfo?(bgrinstead)
The most basic level of Shadow DOM inspection will be supported by Bug 777674.  After this bug, Shadow DOM content will show up as a child of the host element - shadow roots will not be visible right away. Please see (and comment in) Bug 1053898 if you are interested in how shadow roots will be displayed in the markup view, especially when dealing with multiple shadow roots.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(bgrinstead)
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.