Closed Bug 1933114 Opened 3 months ago Closed 3 months ago

Add tests for tab group restoration

Categories

(Firefox :: Session Restore, task, P2)

task
Points:
3

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: sthompson, Assigned: sthompson)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-tabgrps-sessionstore] )

Attachments

(1 file)

Add more (and more thorough) tests for restoring tab groups to the tab strip.

  1. Saved tab groups
  2. Closed/deleted tab groups in an open window
  3. Closed/deleted tab groups in a closed window
Points: --- → 2
Priority: -- → P2
Whiteboard: [fidefe-tabgrps-sessionstore]

Also addresses bug 1933574 by changing the schema of saved tab groups so that they look the same as closed tab groups (that is, the saved tab groups' tabs list now has the same schema as the _closedTabs list).

Assignee: nobody → sthompson
Status: NEW → ASSIGNED
Blocks: 1933574
Blocks: 1921802
Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ceeaeae381df tests and fixes for tab group restoration r=dao,sessionstore-reviewers,tabbrowser-reviewers
Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4436a8f5e82d tests and fixes for tab group restoration r=dao,sessionstore-reviewers,tabbrowser-reviewers

Backed out for causing bc failures @ browser_tab_groups_restore_closed_in_closed_window.js

Blocks: 1936093

Having issues with specifically ASan/TSan tests on Linux. Since the test issues are with a new test I'm adding, I'm going to skip the test for Linux ASan/TSan for now and address any issues in bug 1936093

Flags: needinfo?(sthompson)
Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e5ecd3645987 tests and fixes for tab group restoration r=dao,sessionstore-reviewers,tabbrowser-reviewers
Attachment #9440096 - Attachment description: Bug 1933114 - tests and fixes for tab group restoration r=dao,dwalker,jswinarton → Bug 1933114 - add tests for restoring tab groups r=dao,dwalker,jswinarton

I isolated the problem to ASan tests in all desktop platforms. The tests that I wrote load about:crashes in tabs under test, but ASan builds set MOZ_CRASHREPORTER_DISABLE=1 which has the effect of making about:crashes fail to load in the browser.

I changed all tab group-related tests (my new tests plus existing tests) that use about:crashes and had them load a different URI.

I can reliably get the tests to pass in an ASan build, so I'm hoping this will land successfully this time.

Flags: needinfo?(sthompson)
Pushed by sthompson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/18b068949f6b add tests for restoring tab groups r=dao,sessionstore-reviewers,tabbrowser-reviewers,urlbar-reviewers
Duplicate of this bug: 1936093
Points: 2 → 3
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: