Open Bug 2033711 Opened 1 month ago Updated 1 month ago

[wdspec] Add Mozilla specific tests that cover pref'ed off features by web-platform tests

Categories

(Remote Protocol :: Agent, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [webdriver:backlog])

Our WebDriver tests run as part of the web-platform test suite, so they automatically inherit the default preferences applied to those tests:

https://searchfox.org/firefox-main/rev/ad5f057320ecc6b934dfa1e3ec361f87712806cc/testing/profiles/profiles.json#34-39

Because not all of these preferences are covered by our recommended preferences, behavior can differ for users running WebDriver outside CI or outside web-platform test jobs. One example is bug 2033385, where the Geolocation feature may open the system settings dialog to request OS-level location permission.

To cover such cases, we could add Mozilla-specific wdspec tests that run with a clean profile and without the preferences normally applied by wptrunner for web-platform tests. We likely do not need tests for every preference, but we should identify the features that are important enough to validate explicitly. The bug above seems like a good candidate.

A useful first step would be to audit which preferences are currently set by wptrunner but are not included in our recommended preferences or in prefs.rs for geckodriver.

Priority: -- → P3
Whiteboard: [webdriver:backlog]
See Also: → 2033385, 2031230
You need to log in before you can comment on or make changes to this bug.