Closed Bug 1908423 Opened 3 months ago Closed 1 day ago

Implement savedGroups array

Categories

(Firefox :: Session Restore, task, P2)

task
Points:
3

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: dao, Assigned: jswinarton)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fidefe-tabgrps-sessionstore])

Attachments

(1 file)

The top level gains a savedGroups array. When hidden, groups are moved here and their tabs moved to a tabs array property on the group.

Blocks: 1908409
Priority: -- → P2
Assignee: nobody → jswinarton
Assignee: jswinarton → nobody
Blocks: 1921802

What is the intended difference between the top-level savedGroups and the per-window _closedGroups https://bugzilla.mozilla.org/show_bug.cgi?id=1908422?

When hidden, groups are moved here

Does "hiding" a group mean collapsing the group? I didn't think so -- I thought that a collapsed tab group still appears in the per-window groups, its tabs continue to appear in the per-window tabs, and the tabs in the group retain their groupId properties.

Is there no longer any "hidden" state for a tab group? Do we just need to account for closed tab groups?

(In reply to Stephen Thompson from comment #1)

What is the intended difference between the top-level savedGroups and the per-window _closedGroups https://bugzilla.mozilla.org/show_bug.cgi?id=1908422?

The latter is for "deleted" groups (that can be reopened like closed tabs).

When hidden, groups are moved here

Does "hiding" a group mean collapsing the group? I didn't think so -- I thought that a collapsed tab group still appears in the per-window groups, its tabs continue to appear in the per-window tabs, and the tabs in the group retain their groupId properties.

Is there no longer any "hidden" state for a tab group? Do we just need to account for closed tab groups?

Sorry, terminology changed a few times. "hidden" means closed & saved here.

Assignee: nobody → jswinarton
Attachment #9429902 - Attachment description: WIP: Bug 1908423: Add savedGroups to SessionRestore for tab groups → Bug 1908423: Add savedGroups to SessionRestore for tab groups r?dao,dwalker,sthompson
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62d15031a31d Add savedGroups to SessionRestore for tab groups r=dao,sessionstore-reviewers

Backed out for causing mochitests failures browser_tab_groups_saved.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_tab_groups_saved.js | Uncaught exception in test bound test_SaveTabGroups - at chrome://browser/content/tabbrowser/tabbrowser.js:5461 - TypeError: Node.appendChild: Argument 1 is not an object.
Flags: needinfo?(jswinarton)
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c3919d8e867 Add savedGroups to SessionRestore for tab groups r=dao,sessionstore-reviewers
Flags: needinfo?(jswinarton)
Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: