Open Bug 1961271 Opened 25 days ago Updated 25 days ago

Add unit tests for Bug 1959812: Defer session restore when Firefox is launched via a taskbar tab window

Categories

(Core :: Session Restore, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: ericchen647, Unassigned)

References

Details

The patch for Bug 1959812 has landed but it's not possible to write tests for it until the taskbar tab installation features are in the code base

:nrishel will likely be the one writing these tests, you can reference the following marionette tests I wrote for another taskbar tab session restore patch.
https://searchfox.org/mozilla-central/source/browser/components/sessionstore/test/marionette/test_taskbartab_restore.py
https://searchfox.org/mozilla-central/source/browser/components/sessionstore/test/marionette/test_taskbartab_sessionstate.py

In order to simulate Firefox launching with a taskbar tab window, I think you can pass in the appropriate command line arguments to the marionette webdriver.

Severity: -- → S3
Priority: -- → P3
See Also: → 1959812
See Also: → 1915736
You need to log in before you can comment on or make changes to this bug.