[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.3.0esr-16.0-1] 2 commits: fixup! Firefox preference overrides.



Title: GitLab

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:

Changes:

  • .prettierignore
    ... ... @@ -1816,7 +1816,6 @@ browser/app/profile/001-base-profile.js
    1816 1816
     browser/app/profile/000-tor-browser.js
    
    1817 1817
     # We do not use the preprocessor here, so we can lint it.
    
    1818 1818
     !browser/components/torpreferences/content/connectionPane.inc.xhtml
    
    1819
    -mobile/android/app/000-tor-browser-android.js
    
    1820 1819
     toolkit/content/pt_config.json
    
    1821 1820
     toolkit/content/moat_countries_dev_build.json
    
    1822 1821
     toolkit/components/lox/lox_wasm.jsm

  • browser/app/profile/001-base-profile.js
    ... ... @@ -26,11 +26,13 @@ pref("browser.aboutwelcome.enabled", false);
    26 26
     pref("browser.privatebrowsing.resetPBM.enabled", false, locked);
    
    27 27
     #endif
    
    28 28
     
    
    29
    +#ifndef ANDROID
    
    29 30
     // Bug 41668: allow users to apply updates. This is set also in firefox.js for
    
    30 31
     // all platforms, except for Windows. As explained on firefox.js, Firefox uses a
    
    31 32
     // per-installation preference on Windows. However, we patch this behavior, and
    
    32 33
     // we set this preference also for Windows.
    
    33 34
     pref("app.update.auto", true);
    
    35
    +#endif
    
    34 36
     
    
    35 37
     // Try to nag a bit more about updates: Pop up a restart dialog an hour after the initial dialog
    
    36 38
     pref("app.update.promptWaitTime", 3600);
    
    ... ... @@ -697,6 +699,11 @@ pref("media.gmp-widevinecdm.visible", false);
    697 699
     pref("media.gmp-widevinecdm.enabled", false);
    
    698 700
     pref("media.eme.enabled", false);
    
    699 701
     pref("media.mediadrm-widevinecdm.visible", false);
    
    702
    +#ifdef ANDROID
    
    703
    +// tor-browser#29859: no HLS (HTTP Live Streaming) support for now due to
    
    704
    +// browser freezing. Notice that HLS is enabled only on Android on Firefox.
    
    705
    +pref("media.hls.enabled", false);
    
    706
    +#endif
    
    700 707
     // The in-browser debugger for debugging chrome code is not coping with our
    
    701 708
     // restrictive DNS look-up policy. We use "127.0.0.1" instead of "localhost" as
    
    702 709
     // a workaround. See bug 16523 for more details.
    

  • eslint-ignores.config.mjs
    ... ... @@ -310,7 +310,6 @@ export default [
    310 310
     
    
    311 311
       "browser/app/profile/001-base-profile.js",
    
    312 312
       "browser/app/profile/000-tor-browser.js",
    
    313
    -  "mobile/android/app/000-tor-browser-android.js",
    
    314 313
       "toolkit/content/pt_config.json",
    
    315 314
       "toolkit/content/moat_contries_dev_build.json",
    
    316 315
       "toolkit/components/lox/lox_wasm.jsm",
    

  • mobile/android/app/000-tor-browser-android.js deleted
    1
    -// Import all prefs from the canonical file
    
    2
    -// We override mobile-specific prefs below
    
    3
    -// Tor Browser for Android
    
    4
    -// Do not edit this file.
    
    5
    -
    
    6
    -#include ../../../browser/app/profile/000-tor-browser.js
    
    7
    -
    
    8
    -// Disable browser auto updaters
    
    9
    -pref("app.update.auto", false);
    
    10
    -pref("browser.startup.homepage_override.mstone", "ignore");
    
    11
    -
    
    12
    -// controls if we want camera support
    
    13
    -pref("media.realtime_decoder.enabled", false);
    
    14
    -
    
    15
    -// No HLS support for now due to browser freezing, see: #29859.
    
    16
    -pref("media.hls.enabled", false);
    
    17
    -
    
    18
    -// Disable WebAuthn. It requires Google Play Services, so it isn't
    
    19
    -// available, but avoid any potential problems.
    
    20
    -pref("security.webauth.webauthn_enable_android_fido2", false);

  • mobile/android/app/geckoview-prefs.js
    ... ... @@ -388,5 +388,3 @@ pref("xpinstall.whitelist.fileRequest", false);
    388 388
     pref("browser.ipProtection.enabled", true);
    
    389 389
     pref("browser.ipProtection.guardian.endpoint", "https://vpn.mozilla.org/");
    
    390 390
     pref("toolkit.ipProtection.android.authProvider", "fxa");
    391
    -
    
    392
    -#include 000-tor-browser-android.js

  • mobile/android/app/moz.build
    ... ... @@ -15,7 +15,7 @@ if CONFIG["MOZ_PKG_SPECIAL"]:
    15 15
         DEFINES["MOZ_PKG_SPECIAL"] = CONFIG["MOZ_PKG_SPECIAL"]
    
    16 16
     
    
    17 17
     JS_PREFERENCE_PP_FILES += [
    
    18
    -    "000-tor-browser-android.js",
    
    18
    +    "../../../browser/app/profile/000-tor-browser.js",
    
    19 19
     ]
    
    20 20
     
    
    21 21
     if not CONFIG["MOZ_ANDROID_FAT_AAR_ARCHITECTURES"]:
    

  • mobile/android/installer/package-manifest.in
    ... ... @@ -138,6 +138,7 @@
    138 138
     @BINPATH@/*/greprefs.js
    
    139 139
     @BINPATH@/@PREF_DIR@/*/geckoview-prefs.js
    
    140 140
     #endif # !MOZ_ANDROID_FAT_AAR_ARCHITECTURES
    
    141
    +@BINPATH@/@PREF_DIR@/000-tor-browser.js
    
    141 142
     
    
    142 143
     #ifdef MOZ_PREF_EXTENSIONS
    
    143 144
     @BINPATH@/defaults/autoconfig/prefcalls.js
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx