Bug 1136976 - Set MLS geolocation to nightly+aurora only. r=cpeterson, a=lsblakk
authorGarvan Keeley <gkeeley@mozilla.com>
Fri, 27 Feb 2015 19:15:32 -0500
changeset 247882 f9bc1766be400e2d79261a6841d1f8069671f430
parent 247881 d2d54a52605d645040672f17f9506dd7c9a53f84
child 247883 9aa3163b6d36599fbd1518b713e4e6ec62930f0c
push id7706
push userryanvm@gmail.com
push dateWed, 04 Mar 2015 17:34:32 +0000
treeherdermozilla-aurora@f9bc1766be40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpeterson, lsblakk
bugs1136976
milestone38.0a2
Bug 1136976 - Set MLS geolocation to nightly+aurora only. r=cpeterson, a=lsblakk
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1746,17 +1746,21 @@ pref("security.cert_pinning.enforcement_
 // Override the Gecko-default value of false for Firefox.
 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);
 
 // The request URL of the GeoLocation backend.
+#ifdef RELEASE_BUILD
+pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
+#else
 pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
+#endif
 
 #ifdef XP_MACOSX
 #ifdef RELEASE_BUILD
 pref("geo.provider.use_corelocation", false);
 #else
 pref("geo.provider.use_corelocation", true);
 #endif
 #endif