[tor-commits] [Git][tpo/applications/tor-browser][base-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:54 UTC 2024



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


Commits:
1a4edd77 by Morgan at 2024-08-22T09:36:46+02: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/1a4edd77f278dc596196d17133a9717cd931fac3

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1a4edd77f278dc596196d17133a9717cd931fac3
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/tor-commits/attachments/20240822/9b274924/attachment-0001.htm>


More information about the tor-commits mailing list