Add a test to check that Remote preferences are correctly reset after quitting Firefox
Categories
(Remote Protocol :: Marionette, task, P3)
Tracking
(Not tracked)
People
(Reporter: jdescottes, Unassigned)
References
Details
See https://phabricator.services.mozilla.com/D119071#3874636
In Bug 1717145 we are moving the preference cleanup for both CDP and Marionette to earlier events (quit-application) because the current cleanup happens too late and preferences are not correctly reset when quitting Firefox.
It would be nice to add a test for that, at least for Marionette. Since both implementations will end up using the same shared RecommendedPreferences module in Bug 1693803, it should cover both use cases.
Quote from :whimboo in the phabricator review on how such a test could be written
There is self.marionette.quit() for Marionette unit tests. For example take a look here:
https://searchfox.org/mozilla-central/rev/5b3444ad300e244b5af4214212e22bd9e4b7088a/testing/marionette/harness/marionette_harness/tests/unit/test_profile_management.py#79-82With the profile path retrieved we should be able to grep the preferences file.
Comment 1•3 years ago
|
||
Given that the test needs to be done via Marionette the bug should be in its component.
Updated•1 year ago
|
Description
•