Closed Bug 1833037 Opened 2 years ago Closed 2 years ago

Unable to open the "Recently Closed Windows" subview in the main menu in some cases

Categories

(Firefox :: Menus, defect, P1)

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- unaffected
firefox114 --- unaffected
firefox115 --- fixed

People

(Reporter: itiel_yn8, Assigned: eemeli)

References

(Regression)

Details

(Keywords: nightly-community, regression, steps-wanted)

Attachments

(1 file)

Regressed by bug 1832141. I'm.. not really sure what is the STR, but I confirmed this in a clean profile as well.
When this happens, I have already restored a session, and then I attempt to open that menu.

From the browser console:

TypeError: can't access property "l10n", this is undefined
RecentlyClosedTabsAndWindowsMenuUtils.sys.mjs:76:29
TypeError: can't access property "tagName", headerNode.nextSibling is null
    ensureHeaderSeparator resource:///modules/PanelMultiView.jsm:1397
    set headerText resource:///modules/PanelMultiView.jsm:1424
    _showSubView resource:///modules/PanelMultiView.jsm:743
    showSubView resource:///modules/PanelMultiView.jsm:674
    value resource:///modules/PanelMultiView.jsm:435
    showSubView chrome://browser/content/customizableui/panelUI.js:428
    oncommand chrome://browser/content/browser.xhtml:1

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

:eemeli, since you are the author of the regressor, bug 1832141, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Ah, I had not accounted for how this call pattern loses the this for the function. Will fix ASAP.

Assignee: nobody → earo
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(earo)
Priority: -- → P1

Also remove public access to the internal Localization instance.

Pushed by earo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec17b45c0141 Do not depend on `this` in RecentlyClosedTabsAndWindowsMenuUtils. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: