Bug 110909 - Web Inspector: pseudoId is not shown when shadowPseudoId is being overridden
Summary: Web Inspector: pseudoId is not shown when shadowPseudoId is being overridden
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-26 13:46 PST by Dima Gorbik
Modified: 2014-12-13 13:40 PST (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Gorbik 2013-02-26 13:46:29 PST
shadowPseudoId() is being implemented in Element base class and returns a 'pseudoId' attribute which inspector also displays. But some derived from Element classes chose to override 'shadowPseudoId' to return their own pseudoId instead of setting an attribute. Inspector could probably query shadowPseudoId() to find out the pseudo id for those classes.
Comment 1 Dean Jackson 2013-03-08 15:18:12 PST
I'm not sure the inspector calls pseudoId itself, it just iterates over the attributes on an Element. The problem is that shadowPseudoId isn't exposed that way.

InspectorDOMAgent::buildArrayForElementAttributes would have to special case pseudo, which is a bit weird. Instead, if there is a shadowPseudoId it could be exposed explicitly and displayed in the node tree differently.
Comment 2 Brian Burg 2014-12-13 13:40:41 PST
AFAICT, this is shown now in inspector on trunk.