Closed Bug 1845258 Opened 9 months ago Closed 9 months ago

Preview support for HighlightRegistry objects

Categories

(DevTools :: Object Inspector, enhancement)

enhancement

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open the console
  2. Evaluate
CSS.highlights.set("glow", new Highlight());
CSS.highlights;

Expected results

Highlight entries are displayed


We already do similar custom UI for other type of objects with entries (e.g. Headers, URLSearchParams, …)

Summary: Preview support for HighlightRegristry objects → Preview support for HighlightRegistry objects

Display the entries directly for easier debugging.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/573d8e307efa
[devtools] Add preview support for HighlightRegistry objects. r=devtools-reviewers,bomsy.
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: