Closed Bug 1453641 Opened 2 years ago Closed 2 years ago
[wpt-sync] Sync PR 10443 - Use version-specific prefs files when running Firefox
Sync web-platform-tests PR 10443 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10443 Details from upstream follow. James Graham <email@example.com> 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 firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/f8aebe28f718 [wpt PR 10443] - Use version-specific prefs files when running Firefox, a=testonly
Result changes from PR not available.
You need to log in before you can comment on or make changes to this bug.