Closed Bug 1908422 Opened 1 year ago Closed 1 year ago

Implement closedGroups array

Categories

(Firefox :: Session Restore, task, P2)

task
Points:
8

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: dao, Assigned: jswinarton)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps-sessionstore])

Attachments

(1 file)

Each window gains a _closedGroups array. When a group is deleted it is moved there and its tabs moved into the group object as a tabs array property. Also update Recently Closed UI. Figure out how to handle recently closed tabs limit. Pull out _closedGroups array in deferred restore case.

Figma: https://www.figma.com/design/f6J2lH6XDxLxyzOLr2E8oE/Tab-Grouping?node-id=8768-38810&t=jjhwvlOnvNiqqZ6b-0

Depends on: 1908415
Priority: -- → P2
Assignee: nobody → jswinarton
Attachment #9432376 - Attachment description: WIP: Bug 1908422: Add _closedGroups to SessionRestore for tab groups → Bug 1908422: Add _closedGroups to SessionRestore for tab groups r?dao,dwalker,sthompson
See Also: → 1927765
See Also: → 1927767
See Also: → 1927768
See Also: → 1927769
See Also: → 1927770
See Also: → 1927774
See Also: → 1928424
Attachment #9432376 - Attachment description: Bug 1908422: Add _closedGroups to SessionRestore for tab groups r?dao,dwalker,sthompson → Bug 1908422: Add closedGroups to SessionRestore for tab groups r?dao,dwalker,sthompson
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e5edf53c876 Add closedGroups to SessionRestore for tab groups r=dao,sthompson,sessionstore-reviewers,tabbrowser-reviewers

Backed out for causing bc failures @ browser_tab_groups_a11y.js

TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_a11y.js | Test timed out -
Flags: needinfo?(jswinarton)
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/307c830b0d2b Add closedGroups to SessionRestore for tab groups r=dao,sthompson,sessionstore-reviewers,tabbrowser-reviewers

(In reply to Atila Butkovits from comment #5)

Backed out changeset for causing failures at browser_tab_groups.js.

Backout link: https://hg.mozilla.org/integration/autoland/rev/a93fc149b12e8284bf04d638fb44744500800bf7

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=307c830b0d2b9382d9c6ffd0c04b22b34b1a3429&selectedTaskRun=VBvl5Y3hQT24NLOIHVBK4A.0

Failure log: https://treeherder.mozilla.org/logviewer?job_id=481831576&repo=autoland&lineNumber=40392

Hi Atila,

I looked into the failure logs for this, but it seems to me that this is an intermittent that's not caused by this patch. While my patch does modify the tests in the file that failed, it was only to rename a DOM event, and the file otherwise had no changes. The failure is also reporting as intermittent on the treeherder link in your comment. Finally, looking at the intermittent failures report on this test file generally, I can see that the same error has been occurring in central since at least November 5. Based on this, I think this patch should land. Let me know if you think there's something I missed.

Flags: needinfo?(jswinarton) → needinfo?(abutkovits)
Summary: Implement _closedGroups array → Implement closedGroups array
See Also: → 1930683
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/509317daff2d Add closedGroups to SessionRestore for tab groups r=dao,sthompson,sessionstore-reviewers,tabbrowser-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Flags: needinfo?(abutkovits)
Blocks: 1923653
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: