Closed Bug 2081861 Opened 1 month ago Closed 25 days ago

Recently Closed Tabs doesn't show closed tab groups from the current window when browser.sessionstore.closedTabsFromAllWindows is false

Categories

(Firefox :: Session Restore, defect, P1)

defect

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- wontfix
firefox158 --- wontfix
firefox159 --- wontfix
firefox160 --- wontfix
firefox161 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Steps:

  1. Set browser.sessionstore.closedTabsFromAllWindows to false.
  2. Create a tab group and close it.
  3. Open History > Recently Closed Tabs.

The closed group has no submenu there, and SessionStore.getClosedTabGroups() returns nothing for the window.

getClosedTabGroups checks sourceOptions.sourceWindow.closedGroups before collecting the source window's closed groups. sourceWindow is the window itself, which has no closedGroups property, so the check is always false. Bug 1947503 added the check; the ?? [] it added in the same branch already covers session data without closedGroups, so the branch can go back to a plain else.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED

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

Severity: -- → S2
Priority: -- → P1
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/68432a945933 https://hg.mozilla.org/integration/autoland/rev/4c3b23d9ffdb Collect the source window's closed tab groups when not including all windows. r=sessionstore-reviewers,nsharpley
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch

The patch landed in nightly and beta is affected, along with ESR.

:dao, please make an uplift decision for beta and ESR:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox160 to wontfix if the fix can wait for the next release.
  • For ESR, nominate the patch for the appropriate ESR uplift approval if the fix should be included in ESR, or set the ESR status flag(s) to wontfix if an uplift isn't needed. Each affected ESR release needs a decision.

Uplift requests can be submitted from Lando: D333759.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
QA Whiteboard: [qa-triage-done-c162/b161] [qa-ver-needed-c162/b161]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: