[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-128.1.0esr-14.0-1] fixup! Firefox preference overrides.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Thu Aug 22 07:36:10 UTC 2024



Pier Angelo Vendrame pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser


Commits:
3b18923a by Morgan at 2024-08-22T07:34:26+00:00
fixup! Firefox preference overrides.

Bug 42604: Remove safe-browsing google prefs

- - - - -


1 changed file:

- modules/libpref/init/all.js


Changes:

=====================================
modules/libpref/init/all.js
=====================================
@@ -3529,6 +3529,8 @@ pref("browser.safebrowsing.downloads.remote.block_uncommon",             true);
 // Android SafeBrowsing's configuration is in ContentBlocking.java, keep in sync.
 #ifndef MOZ_WIDGET_ANDROID
 
+// tor-browser#42604: safe-browsing is disabled elsewhere, but no reason to ship scary google prefs
+#ifndef BASE_BROWSER_VERSION
 // Google Safe Browsing provider (legacy)
 pref("browser.safebrowsing.provider.google.pver", "2.2");
 pref("browser.safebrowsing.provider.google.lists", "goog-badbinurl-shavar,goog-downloadwhite-digest256,goog-phish-shavar,googpub-phish-shavar,goog-malware-shavar,goog-unwanted-shavar");
@@ -3552,6 +3554,7 @@ pref("browser.safebrowsing.provider.google4.advisoryURL", "https://developers.go
 pref("browser.safebrowsing.provider.google4.advisoryName", "Google Safe Browsing");
 pref("browser.safebrowsing.provider.google4.dataSharingURL", "https://safebrowsing.googleapis.com/v4/threatHits?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
 pref("browser.safebrowsing.provider.google4.dataSharing.enabled", false);
+#endif // ifndef BASE_BROWSER_VERSION
 
 #endif // ifndef MOZ_WIDGET_ANDROID
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3b18923af2f77dfa278b3801d4c65bf8d4d5142e

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3b18923af2f77dfa278b3801d4c65bf8d4d5142e
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240822/e735b507/attachment-0001.htm>


More information about the tbb-commits mailing list