Click to select element doesn't work with certain Shadow DOM content

NEW
Unassigned

Status

()

Firefox
Developer Tools: Inspector
P3
normal
3 years ago
2 years ago

People

(Reporter: bgrins, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
STR:

* Set dom.webcomponents.enabled = true
* Open https://gaia-components.github.io/gaia-components/
* Open DevTools
* Press the 'click to select an element' button and hover over the "Input Label" text (part of the gaia-text-input element)

Notice that the elements are not getting selected in the markup view and there are error spams in the console like this:

NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [inIDeepTreeWalker.currentNode] inspector.js:3119
Exception { message: "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [inIDeepTreeWalker.currentNode]", result: 2147942487, name: "NS_ERROR_ILLEGAL_VALUE", filename: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js", lineNumber: 3119, columnNumber: 0, inner: null, data: null, stack: "DocumentWalker@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js:3119:2
WalkerActor<.children</getFilteredWalker@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js:1516:13
WalkerActor<.children<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/inspector.js:1541:25
actorProto/</handler@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/protocol.js:955:18
DSC_onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/main.js:1407:14
LocalDebuggerTransport.prototype.send/<@resource://gre/modules/devtools/dbg-client.jsm -> resource://gre/modules/devtools/transport/transport.js:545:10
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:13
makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:83:13
", location: XPCWrappedNative_NoHelper } protocol.js:860
(Reporter)

Updated

3 years ago
Blocks: 1079185
Inspector Bugs Triage - Filter on CLIMBING SHOES
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.