Closed Bug 2023779 Opened 3 months ago Closed 3 months ago

"Recently Closed Tabs" menu items display "undefined" in the tooltip

Categories

(Firefox :: Session Restore, defect)

Firefox 150
defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox148 --- unaffected
firefox149 --- unaffected
firefox150 --- verified
firefox151 --- verified

People

(Reporter: sam, Assigned: sam)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

In the "Recently Closed Tabs" menu, when accessed via the menu bar or the app menu, hovering items shows a tooltip that says "undefined". In addition, in the "Recently Closed Windows" menu, when accessed via the menu bar, hovering items shows a tooltip that says "null". However, accessing the "Recently Closed Windows" menu from the app menu does show a proper tooltip.

The regressing bug always sets tooltiptext for items in these menus, but the value can be null or undefined, which ends up displaying in the tooltip to the user. It seems that it was intentionally made optional, so I'm updating the logic to not set any tooltiptext if none was provided.

The regressing bug always sets tooltiptext for items in these menus, but the value can be null or undefined, which ends up displaying in the tooltip to the user. It seems that it was intentionally made optional, so I'm updating the logic to not set any tooltiptext if none was provided.

Assignee: nobody → sam
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1985619

Pushed by sfoster@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fc3f9306c65c https://hg.mozilla.org/integration/autoland/rev/8c775d7f00ee Fix "undefined" and "null" tooltips within recently closed tabs and windows menus. r=sessionstore-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Duplicate of this bug: 2022788
QA Whiteboard: [qa-triage-done-c151/b150][qa-ver-needed-c151/b150]
Flags: qe-verify+
QA Contact: dlucaci

Reproduced with Firefox 150.0a1 (2026-03-16) on macOS 15 ARM.
Verified as fixed with Firefox 151.0a1 (20260326080630) and Firefox 150.0b1 (20260325090410) on macOS 15 ARM, Windows 10 and Ubuntu 22.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c151/b150][qa-ver-needed-c151/b150] → [qa-triage-done-c151/b150][qa-ver-done-c151/b150]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: