projects
/
firefox-esr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f4afa
)
Use the Mozilla Location Service key when the Google Key is not there
author
Mike Hommey
<mh@glandium.org>
Sat, 1 Apr 2017 21:33:19 +0000
(06:33 +0900)
committer
Mike Hommey
<glandium@debian.org>
Tue, 3 Dec 2019 23:56:07 +0000
(23:56 +0000)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Use-the-Mozilla-Location-Service-key-when-the-Google.patch
browser/app/profile/firefox.js
patch
|
blob
|
history
diff --git
a/browser/app/profile/firefox.js
b/browser/app/profile/firefox.js
index a1f26ffac1b4c66f7621e72af3fd1af4a018d5e3..384a01ccc429619e564497f06d26cc32f2c2d45e 100644
(file)
--- a/
browser/app/profile/firefox.js
+++ b/
browser/app/profile/firefox.js
@@
-1399,7
+1399,7
@@
pref("dom.debug.propagate_gesture_events_through_content", false);
// All the Geolocation preferences are here.
//
-#if
ndef EARLY_BETA_OR_EARLIER
+#if
!defined(EARLY_BETA_OR_EARLIER) && defined(GOOGLE_LOCATION_SERVICE_API_KEY)
pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
#else
// Use MLS on Nightly and early Beta.