Closed Bug 1908418 Opened 1 year ago Closed 1 year ago

Make each window have a groups array which includes all of the tab groups currently present on the tab bar including a unique identifier

Categories

(Firefox :: Session Restore, task)

task
Points:
5

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: dao, Assigned: sthompson)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps-sessionstore])

Attachments

(1 file)

No description provided.
Depends on: 1908419

This is based on the following session data storage implementation plan https://docs.google.com/document/d/1-Lo46NxnAq5TDAwHSLjy5RMc9lOHEKT7nMKAaaUoWek/edit#heading=h.qb7w06lvvqsi

Assignee: nobody → sthompson

This adds tab groups and their state data to the session store. For any tabs that are in tab groups, this patch adds the group ID into the tab state.

This change has a number of limitations that will be addressed in future bugs. Most notably, tab groups will not be restored from session state -- this change just records the tab group state data. Another important limitation is that when users remove tab groups, they will no longer appear in the session store.

This patch is only intended to lay the initial groundwork for storing tab group data in the session store.

Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ded63123e6c Add open tab groups to session store r=jswinarton,dao,sessionstore-reviewers

(In reply to Sandor Molnar[:smolnar] from comment #4)

Backed out for causing multiple perma failures
Taking a look, thanks. The browser chrome issue looks related to my changes. The devtools issue is unexpected, I'll dig into it.

(In reply to Stephen Thompson from comment #5)

(In reply to Sandor Molnar[:smolnar] from comment #4)

Backed out for causing multiple perma failures
Taking a look, thanks. The browser chrome issue looks related to my changes. The devtools issue is unexpected, I'll dig into it.

backfills indicate it's coming from your push

Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d59c65301d3 Add open tab groups to session store r=jswinarton,dao,sessionstore-reviewers

Looks like there was a difference between running Array.map on an array from gBrowser vs. creating a new array in SessionStore and Array.pushing elements onto it. I queued the fix for landing.

Flags: needinfo?(sthompson)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Points: 3 → 5
Duplicate of this bug: 1908421
Regressions: 1924566
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: