[tor-commits] [sandboxed-tor-browser/master] Unset the addon autoupdater URL prefs.

yawning at torproject.org yawning at torproject.org
Thu Aug 17 19:05:38 UTC 2017


commit 65ef5ea681e6836a95ec161d5de4b831fc8c21f9
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Thu Aug 17 19:02:45 2017 +0000

    Unset the addon autoupdater URL prefs.
    
    Updating addons is disabled by default and will not work, even though it
    may appear to (#23265).  Instead of checking and then failing to apply
    the update, by removing the URLs from the prefs, the check will fail
    immediately.
    
    This applies to everything but HTTPSE, because HTTPSE provides it's own
    updateURL in the install.rdf file.
---
 data/installer/mozilla.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/data/installer/mozilla.cfg b/data/installer/mozilla.cfg
index 040d80e..ed832c7 100644
--- a/data/installer/mozilla.cfg
+++ b/data/installer/mozilla.cfg
@@ -16,6 +16,8 @@ lockPref("extensions.torbutton.versioncheck_enabled", false);
 // Disable extension auto update.
 lockPref("extensions.update.enabled", false);
 lockPref("extensions.update.autoUpdateDefault", false);
+lockPref("extensions.update.url", "");
+lockPref("extensions.update.background.url", "");
 
 // Disable the safe mode prompt, because we sometimes violently kill Tor
 // Browser and "safe mode" when we don't integrate addons and prefs properly



More information about the tor-commits mailing list