Skip to content

Compare Tor Browser's and GeckoView's profiles

We want to use the same branch for Tor Browser desktop and GeckoView, so we should sync-up the preferences.

I have compared 91.9's 000-tor-browser.js (so, before the splitting into 001-base-profile.js) with GeckoView 102's 000-tor-browser.js.

Android contains the following additional items:

// Disable site-specific browsing to avoid sharing site icons with the OS.
pref("browser.ssb.enabled", false);

pref("network.http.referer.hideOnionSource", true);

pref("webgl.disable-extensions", true);

pref("dom.w3c_pointer_events.enabled", false);

pref("plugin.disable", true); // Disable to search plugins on first start
pref("plugin.state.flash", 0); // Disable for defense-in-depth

// Make sure no enterprise policy can interfere with our proxy settings, see
// #29916.
pref("browser.policies.testing.disallowEnterprise", true);

pref("extensions.enabledAddons", "https-everywhere%40eff.org:3.1.4,%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D:2.6.6.1,torbutton%40torproject.org:1.5.2,ubufox%40ubuntu.com:2.6,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:17.0.5");
pref("extensions.enabledItems", "langpack-en-US@firefox.mozilla.org:,{73a6fe31-595d-460b-a920-fcc0f8843232}:1.9.9.57,{e0204bd5-9d31-402b-a99d-a6aa8ffebdca}:1.2.4,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.5.8");

pref("xpinstall.whitelist.add", "");
pref("xpinstall.whitelist.add.36", "");

// Bug 31396: Disable indexedDB WebExtension storage backend.
pref("extensions.webextensions.ExtensionStorageIDB.enabled", false);
// Bug 28896: Make sure our bundled WebExtensions are running in Private Browsing Mode
pref("extensions.allowPrivateBrowsingByDefault", true);

// Avoid report TLS errors to Mozilla. We might want to repurpose this feature
// one day to help detecting bad relays (which is bug 19119). For now we just
// hide the checkbox, see bug 22072.
pref("security.ssl.errorReporting.enabled", false);

// Having the RDD Opus option enabled on Windows breaks videos for us.
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1667360 and
// tor-browser#40140.
#ifdef XP_WIN
pref("media.rdd-opus.enabled", false);
#endif

It also contains:

pref("browser.cache.offline.enable", false);

I think we removed this one?

And it also has a comment without a related preference:

// Disable randomised Firefox HTTP cache decay user test groups (Bug: 13575)

(but I think ignoring it is okay)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information