Closed
Bug 1981682
Opened 1 year ago
Closed 1 year ago
Make it easier to differentiate highlighters when inspecting a page from the Browser Toolbox
Categories
(DevTools :: Inspector, task)
DevTools
Inspector
Tracking
(firefox143 fixed)
RESOLVED
FIXED
143 Branch
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
At the moment the highlighters are added using insertAnonymousContent, and in the Browser Toolbox inspector, the hosts will all look the same:
<div role="presentation" class="moz-custom-content-container">
<div role="presentation" class="anonymous-content-host"></div>
<div role="presentation" class="anonymous-content-host"></div>
<div role="presentation" class="anonymous-content-host"></div>
<div role="presentation" class="anonymous-content-host"></div>
</div>
So if you're looking for a specific highlighter, you have to expand all the nodes and their shadow root
It would be nice to add an extra class to the host so they can be identified faster
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → Inspector
| Assignee | ||
Comment 2•1 year ago
|
||
When provided, this will add a class to the anonymous content root host.
We pass it from the different highlighters so it's easier to spot a given
highlighter when inspecting a page.
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ebaa206daeaa
https://hg.mozilla.org/integration/autoland/rev/2f01cd6741ad
[devtools] Add a contentRootHostClassName option to CanvasFrameAnonymousContentHelper. r=devtools-reviewers,jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox143:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in
before you can comment on or make changes to this bug.
Description
•