Closed Bug 1613773 Opened 5 years ago Closed 5 years ago

Merge devtools.inspector.showUserAgentShadowRoots into devtools.inspector.showAllAnonymousContent

Categories

(DevTools :: Inspector, task, P3)

task

Tracking

(firefox75 fixed)

RESOLVED FIXED
Firefox 75
Tracking Status
firefox75 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We currently have two preferences that control showing anonymous/user-agent content in the inspector:

  • devtools.inspector.showUserAgentShadowRoots
  • devtools.inspector.showAllAnonymousContent

Splitting them makes sense from a technical standpoint, but from a user point of view they serve the same purpose. Let's first fold showUserAgentShadowRoots into devtools.inspector.showAllAnonymousContent. The showAllAnonymousContent preference is automatically set for the Browser Toolbox, which means that Browser Toolbox users will automatically start seeing user agent shadow roots after this change.

We could also rename the preference to stop referring to "anonymous" (ua shadow roots are not anonymous content), and maybe expose a setting the in the DevTools options panel.

Thanks for jumping on this - is the patch here ready for review? :-)

Flags: needinfo?(jdescottes)

Thanks for pinging me, I forgot to assign a reviewer! :)

Flags: needinfo?(jdescottes)
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f02a7d6551df Merge devtools.inspector.showUserAgentShadowRoots into devtools.inspector.showAllAnonymousContent r=rcaliman
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: