tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit a0a06c5e2021c4174d975df4d5e4478e1fd51ab1
parent b6f3b990ed723af2dd02efdfdf2526b0e5ef6c61
Author: Henry Wilkes <henry@torproject.org>
Date:   Mon,  9 Sep 2024 16:30:30 +0100

BB 43109: Hide Firefox Relay from settings.

This should remain disabled, see tor-browser#42814.

Diffstat:
Mbrowser/components/preferences/privacy.js | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js @@ -5308,8 +5308,12 @@ var gPrivacyPane = { }, _updateRelayIntegrationUI() { - document.getElementById("relayIntegrationBox").hidden = - !FirefoxRelay.isAvailable; + // In Base Browser, we always hide the integration checkbox since + // FirefoxRelay should remain disabled. + // See tor-browser#43109 and tor-browser#42814. + // NOTE: FirefoxRelay.isAvailable will be true whenever + // FirefoxRelay.isDisabled is true. + document.getElementById("relayIntegrationBox").hidden = true; document.getElementById("relayIntegration").checked = FirefoxRelay.isAvailable && !FirefoxRelay.isDisabled; },