Closed Bug 1453641 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10443 - Use version-specific prefs files when running Firefox


(Testing :: web-platform-tests, enhancement, P4)



(firefox61 fixed)

Tracking Status
firefox61 --- fixed


(Reporter:, Unassigned)




(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10443 into mozilla-central (this bug is closed when the sync is complete).

Details from upstream follow.

James Graham <> wrote:
>  Use version-specific prefs files when running Firefox
>  Firefox requires a prefs file to be loaded to ensure that it doesn't
>  make external network connections, and to make sure that other
>  settings are appropriate for testing. Previously we always used the
>  version of the prefs file from master, which is usually fine for
>  nightly builds, but doesn't work with release builds if it happens
>  that a pref changed.
>  This change uses the correct release version of the prefs file for
>  firefox releases and beta versions. It continues to use the master
>  version for any nightly build; this could be fixed in some cases if we
>  are able to access the actual commit hash used to build Firefox, but
>  probably isn't too bad an approximation.
>  The caching algorithm was changed so that release versions of the
>  prefs are cached forever, and the nightly version is updated once per
>  day (although this doesn't quite match the nightly release cadence,
>  it's only going to fail in edge cases where the prefs were changed in
>  the file, but the nightly version was not yet updated, of vice-versa.)
Pushed by
[wpt PR 10443] - Use version-specific prefs files when running Firefox, a=testonly
Result changes from PR not available.
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.