Bug 1513186 - Still use MLS for nightly & early beta r=jdm
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 11 Dec 2018 15:00:11 +0000
changeset 449941 2103b5139f4447305fc32eaf161cdae52e0df8fe
parent 449940 4e351b1ca8fcebec396d3812184b54299624c213
child 449942 663a91125ddf7ed79a9d3baddb212fd6f96cb386
push id35188
push userccoroiu@mozilla.com
push dateTue, 11 Dec 2018 21:11:28 +0000
treeherdermozilla-central@aee6c9dbb430 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm
bugs1513186
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1513186 - Still use MLS for nightly & early beta r=jdm Differential Revision: https://phabricator.services.mozilla.com/D14140
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1349,19 +1349,22 @@ pref("security.cert_pinning.enforcement_
 pref("plain_text.wrap_long_lines", true);
 
 // If this turns true, Moz*Gesture events are not called stopPropagation()
 // before content.
 pref("dom.debug.propagate_gesture_events_through_content", false);
 
 // All the Geolocation preferences are here.
 //
+#ifndef EARLY_BETA_OR_EARLIER
 pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
-// MLS URL:
-// pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
+#else
+// Use MLS on Nightly and early Beta.
+pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
+#endif
 
 #ifdef XP_MACOSX
 pref("geo.provider.use_corelocation", true);
 #endif
 
 // Set to false if things are really broken.
 #ifdef XP_WIN
 pref("geo.provider.ms-windows-location", true);