Deleted tab groups sometimes do not appear in the history menus
Categories
(Firefox :: Session Restore, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: jswinarton, Assigned: jswinarton)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-tabgrps-sessionstore])
Attachments
(1 file)
I have noticed that since the landing of bug1927774, deleted tab groups do not always appear in the history context menus.
I am not sure exactly what's causing this but I suspect there may be a race condition related to the event that passes the group data to session store. It could be that by the time the event makes it to session restore, the tabs have already been removed, and thus session restore interprets this as an empty group and ignores it.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
:jswinarton I saw this in my manual testing. I saw this most frequently if I created a new tab group and then deleted it very soon after creation. I do not think I saw this issue happen when deleting a tab group that had been around for a minute or more.
The onTabGroupRemoveRequested handler operates on the state of immediate state of the session.
A lot of the session state operations occur after a delay; it may be that we need to do something like SessionStoreInternal.onMoveToNewWindow where we flush the state first.
| Assignee | ||
Comment 2•11 months ago
|
||
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•10 months ago
|
Description
•