Closed Bug 1453641 Opened 2 years ago Closed 2 years ago

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

Categories

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

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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 <james@hoppipolla.co.uk> 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 wptsync@mozilla.com:
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.
https://hg.mozilla.org/mozilla-central/rev/f8aebe28f718
Status: NEW → RESOLVED
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.