Pier Angelo Vendrame pushed to branch tor-browser-153.3.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: ecc93d07 by Pier Angelo Vendrame at 2026-09-14T14:25:27+00:00 fixup! Firefox preference overrides. TB 45276: Deprecate the Android-specific pref file. We are importing our main preference file anyway, which has higher visibility to all devs. - - - - - 953f36bc by Pier Angelo Vendrame at 2026-09-14T14:25:27+00:00 fixup! TB 40562: Added Tor Browser preferences to 000-tor-browser.js TB 45276: Deprecate the Android-specific pref file. We are importing our main preference file anyway, which has higher visibility to all devs. - - - - - 7 changed files: - .prettierignore - browser/app/profile/001-base-profile.js - eslint-ignores.config.mjs - − mobile/android/app/000-tor-browser-android.js - mobile/android/app/geckoview-prefs.js - mobile/android/app/moz.build - mobile/android/installer/package-manifest.in Changes: ===================================== .prettierignore ===================================== @@ -1816,7 +1816,6 @@ browser/app/profile/001-base-profile.js browser/app/profile/000-tor-browser.js # We do not use the preprocessor here, so we can lint it. !browser/components/torpreferences/content/connectionPane.inc.xhtml -mobile/android/app/000-tor-browser-android.js toolkit/content/pt_config.json toolkit/content/moat_countries_dev_build.json toolkit/components/lox/lox_wasm.jsm ===================================== browser/app/profile/001-base-profile.js ===================================== @@ -26,11 +26,13 @@ pref("browser.aboutwelcome.enabled", false); pref("browser.privatebrowsing.resetPBM.enabled", false, locked); #endif +#ifndef ANDROID // Bug 41668: allow users to apply updates. This is set also in firefox.js for // all platforms, except for Windows. As explained on firefox.js, Firefox uses a // per-installation preference on Windows. However, we patch this behavior, and // we set this preference also for Windows. pref("app.update.auto", true); +#endif // Try to nag a bit more about updates: Pop up a restart dialog an hour after the initial dialog pref("app.update.promptWaitTime", 3600); @@ -697,6 +699,11 @@ pref("media.gmp-widevinecdm.visible", false); pref("media.gmp-widevinecdm.enabled", false); pref("media.eme.enabled", false); pref("media.mediadrm-widevinecdm.visible", false); +#ifdef ANDROID +// tor-browser#29859: no HLS (HTTP Live Streaming) support for now due to +// browser freezing. Notice that HLS is enabled only on Android on Firefox. +pref("media.hls.enabled", false); +#endif // The in-browser debugger for debugging chrome code is not coping with our // restrictive DNS look-up policy. We use "127.0.0.1" instead of "localhost" as // a workaround. See bug 16523 for more details. ===================================== eslint-ignores.config.mjs ===================================== @@ -310,7 +310,6 @@ export default [ "browser/app/profile/001-base-profile.js", "browser/app/profile/000-tor-browser.js", - "mobile/android/app/000-tor-browser-android.js", "toolkit/content/pt_config.json", "toolkit/content/moat_contries_dev_build.json", "toolkit/components/lox/lox_wasm.jsm", ===================================== mobile/android/app/000-tor-browser-android.js deleted ===================================== @@ -1,20 +0,0 @@ -// Import all prefs from the canonical file -// We override mobile-specific prefs below -// Tor Browser for Android -// Do not edit this file. - -#include ../../../browser/app/profile/000-tor-browser.js - -// Disable browser auto updaters -pref("app.update.auto", false); -pref("browser.startup.homepage_override.mstone", "ignore"); - -// controls if we want camera support -pref("media.realtime_decoder.enabled", false); - -// No HLS support for now due to browser freezing, see: #29859. -pref("media.hls.enabled", false); - -// Disable WebAuthn. It requires Google Play Services, so it isn't -// available, but avoid any potential problems. -pref("security.webauth.webauthn_enable_android_fido2", false); ===================================== mobile/android/app/geckoview-prefs.js ===================================== @@ -388,5 +388,3 @@ pref("xpinstall.whitelist.fileRequest", false); pref("browser.ipProtection.enabled", true); pref("browser.ipProtection.guardian.endpoint", "https://vpn.mozilla.org/"); pref("toolkit.ipProtection.android.authProvider", "fxa"); - -#include 000-tor-browser-android.js ===================================== mobile/android/app/moz.build ===================================== @@ -15,7 +15,7 @@ if CONFIG["MOZ_PKG_SPECIAL"]: DEFINES["MOZ_PKG_SPECIAL"] = CONFIG["MOZ_PKG_SPECIAL"] JS_PREFERENCE_PP_FILES += [ - "000-tor-browser-android.js", + "../../../browser/app/profile/000-tor-browser.js", ] if not CONFIG["MOZ_ANDROID_FAT_AAR_ARCHITECTURES"]: ===================================== mobile/android/installer/package-manifest.in ===================================== @@ -138,6 +138,7 @@ @BINPATH@/*/greprefs.js @BINPATH@/@PREF_DIR@/*/geckoview-prefs.js #endif # !MOZ_ANDROID_FAT_AAR_ARCHITECTURES +@BINPATH@/@PREF_DIR@/000-tor-browser.js #ifdef MOZ_PREF_EXTENSIONS @BINPATH@/defaults/autoconfig/prefcalls.js View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/d1618a5... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/d1618a5... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)