Open Bug 1928424 Opened 1 year ago Updated 3 months ago

Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality

Categories

(Firefox :: Session Restore, task, P3)

task
Points:
3

Tracking

()

People

(Reporter: jswinarton, Assigned: jswinarton)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps-sessionstore])

Attachments

(1 obsolete file)

No description provided.
Assignee: nobody → jswinarton
Blocks: 1907100
See Also: → 1908422
Attachment #9434549 - Attachment description: WIP: Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality → Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality r?dao,dwalker,sthompson
Attachment #9434549 - Attachment description: Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality r?dao,dwalker,sthompson → Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality r?dao,dwalker,sthompson,sfoster!

Here's a STR for a case which this proposed change would impact:

  • Enable "Open previous windows and tabs" in about:preferences
  • Open 3 non-blank tabs (we have logic to ignore and not save "blank" tabs like about:newtab, about:home, about:blank for undo.
  • Using shift+click, select 2 tabs, and right-click to "close 2 tabs".
  • Restart the browser (File > Quit or ctrl+Q)
  • When it starts back up, it should have restore any non-empty tabs still open before the restart. ctrl+shift+t to undo the last action - which was to close those 2 tabs.

ER:

  • The 2 tabs that were closed before restart get restored in their original positions

AR:

  • Only 1 tabs is restored.

To test for the upgrade case - where a session file saved with the old version is being restored by a build with this patch - you can follow the first steps with an older build, then copy the sessionstore.jsonlz4 from the profile directory into the profile directory of the build under test.

Points: --- → 3
Priority: -- → P3
Whiteboard: [fidefe-tabgrps-sessionstore]
Attachment #9434549 - Attachment description: Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality r?dao,dwalker,sthompson,sfoster! → Bug 1928424: Change naming of closedInGroup and lastClosedTabGroupCount to avoid clashing with tab group functionality
Attachment #9434549 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: