mirror of
https://github.com/servo/servo
synced 2026-05-10 17:12:23 +02:00
The test harness attempts to reset preferences to default values when running a test in which previously-set preferences are no longer set. This leads to confusing interactions with any preference customizations that are present, such as `--pref whatever` or `--prefs-file something.json`, which are not considered when calculating the default. This PR changes that: whatever preference values are present when the webdriver server starts is treated as the default value. Testing: This is a servo-specific webdriver extension, and we're fixing an interaction with the test harness. I don't see another way to test this besides observing the impact on our test results. Fixes: #42043 Signed-off-by: Josh Matthews <josh@joshmatthews.net>