Bug 1859646 - Use GLS also for nightly & beta r=mostlygeek,glandium

Differential Revision: https://phabricator.services.mozilla.com/D191235
This commit is contained in:
Sylvestre Ledru 2023-11-07 09:17:35 +00:00
parent 0b733a3b39
commit 290446f62b

View File

@ -3084,12 +3084,7 @@ pref("network.psl.onUpdate_notify", false);
// All the Geolocation preferences are here. // All the Geolocation preferences are here.
// //
#ifndef EARLY_BETA_OR_EARLIER pref("geo.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
pref("geo.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
#else
// Use MLS on Nightly and early Beta.
pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
#endif
// Timeout to wait before sending the location request. // Timeout to wait before sending the location request.
pref("geo.provider.network.timeToWaitBeforeSending", 5000); pref("geo.provider.network.timeToWaitBeforeSending", 5000);