Inspector adds the "custom" badge for elements in a non-matching namespace
Categories
(DevTools :: Inspector, defect, P2)
Tracking
(Not tracked)
People
(Reporter: aswan, Unassigned)
Details
Since bug 1480465 we have been able to use customElements with XUL. When an element is defined, the registry checks the prototype chain of the CE class and it marks the definition as only applying to the html namespace if the chain includes HTMLElement or as only applying to the xul namespace if the chain includes XULElement.
It appears that the devtools inspector just matches the element name and isn't aware of the namespace subtlety. In particular, xul buttons have a custom element definition, but that element is only attached to xul buttons. In a chrome-privileged (x)html document, the toolbox inspector incorrectly shows html buttons as being custom elements.
Comment 1•6 years ago
|
||
Comment 3•6 years ago
|
||
The priority flag is not set for this bug.
:gl, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•6 years ago
|
Updated•3 years ago
|
Description
•