Open Bug 1973999 Opened 2 months ago Updated 2 months ago

[GeckoView] PreferencesTest may be setting preferences outside its scope

Categories

(GeckoView :: General, task, P3)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [geckoview])

PreferencesTest tests the PreferencesController APIs. Some of those APIs set Gecko preferences. I'm not entirely sure if they are cleared back to their default on test end.

This bug is to:

  1. Try and confirm if a preference set in PreferencesTest is retained between tests
  2. If it is, then on all tests setting a preference, be sure to revert to the initial
  • There may be an easier way to do this using the preferences observer or something similar using a test cleanup function, but at worst, just revert the preferences back to their initial value, which I think all (most?) have as a component of the test.
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fxdroid] [geckoview]
Blocks: 1908182
You need to log in before you can comment on or make changes to this bug.