Closed Bug 1873149 Opened 1 year ago Closed 1 year ago

Preview popup is displayed for keywords tokens

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Hovering const, let, for, … displays an undefined popup. We shouldn't show a popup at all.

We shouldn't show the popup for keywords (const, let, for, …).
codeMirror marks those with the cm-keyword class, so we can ignore those in _isInvalidTarget,
but we need to exclude this, for which we do want to show the preview.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/22d8df4c6626 [devtools] Don't show preview popup for keywords. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: