Commit 8f19aff5 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

BB 43109: Hide Firefox Relay from settings.

This should remain disabled, see tor-browser#42814.
parent ac9fa478
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3016,8 +3016,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;
  },