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:
b115d34
)
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>
Fri, 20 May 2022 21:22:04 +0000
(22:22 +0100)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Use-the-Mozilla-Location-Service-key-when-the-Google.patch
modules/libpref/init/all.js
patch
|
blob
|
history
diff --git
a/modules/libpref/init/all.js
b/modules/libpref/init/all.js
index 02fa6fa2b5c744de6d446dc8cfce394e2f56cabc..d49bd696ffea9c3a1e576721a753fd407c0cff14 100644
(file)
--- a/
modules/libpref/init/all.js
+++ b/
modules/libpref/init/all.js
@@
-3716,7
+3716,7
@@
pref("network.psl.onUpdate_notify", 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.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
#else
// Use MLS on Nightly and early Beta.