Open Bug 2012740 Opened 11 hours ago

[wptrunner] Extra preferences as specified via "--setpref" should not be overwritten with required preferences

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Blocks 1 open bug)

Details

While working on bug 1998347 I put the preference for enabling async mouse events as a required preference into wptrunner. When investigating issues by using the --setpref argument of ./mach wpt I saw that the value as specified always gets overwritten by the required prefs one. As such I'm not able to force the preference to be disabled.

As it can be seen at the following file we first set the extra preferences and then apply the required prefs on top:
https://searchfox.org/firefox-main/source/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/firefox.py#708,714,748

We should get this fixed so that the extra prefs actually have higher priority.

You need to log in before you can comment on or make changes to this bug.