summarylogtreecommitdiffstats
path: root/firefox-38-disable-location.services.mozilla.com.patch
diff options
context:
space:
mode:
authorw2016-03-15 10:39:54 +0100
committerw2016-03-15 10:39:54 +0100
commit8ad9f2719abf04936135c55474e8c3b0277b1eb6 (patch)
treeacafb8da929fd004126a7c8c0652d75b32e74093 /firefox-38-disable-location.services.mozilla.com.patch
parent827bc9a8ade3a4161ad6b6fecb464b3706d7b670 (diff)
downloadaur-8ad9f2719abf04936135c55474e8c3b0277b1eb6.tar.gz
Update to FF 45 ESR
Diffstat (limited to 'firefox-38-disable-location.services.mozilla.com.patch')
-rw-r--r--firefox-38-disable-location.services.mozilla.com.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/firefox-38-disable-location.services.mozilla.com.patch b/firefox-38-disable-location.services.mozilla.com.patch
deleted file mode 100644
index 241df5b52b91..000000000000
--- a/firefox-38-disable-location.services.mozilla.com.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- mozilla-esr38.bak/toolkit/components/search/nsSearchService.js 2015-11-05
-+++ mozilla-esr38/toolkit/components/search/nsSearchService.js 2015-11-05
-@@ -442,6 +442,10 @@
- if (Services.prefs.prefHasUserValue("browser.search.region")) {
- return;
- }
-+
-+ // Prevent Firefox from contacting location.services.mozilla.com on a new profile
-+ Services.prefs.setCharPref("browser.search.region", "US");
-+ return;
-
- // If we have 'isUS' but no 'countryCode' then we are almost certainly
- // a profile from Fx 34/35 that set 'isUS' based purely on a timezone
-@@ -528,6 +532,11 @@
- Services.prefs.getCharPref("browser.search.countryCode");
- return; // pref exists, so we've done this before.
- } catch(e) {}
-+
-+ // No countryCode set, use US as default, don't contact location.services.mozilla.com
-+ Services.prefs.setCharPref("browser.search.countryCode", "US");
-+ return;
-+
- // We don't have it cached, so fetch it. fetchCountryCode() will call
- // storeCountryCode if it gets a result (even if that happens after the
- // promise resolves)