Commit d551cd55 authored by Richard Pospesel's avatar Richard Pospesel Committed by Pier Angelo Vendrame
Browse files

TB 41822: Unconditionally disable default browser UX in about:preferences

parent 2e05f8c0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1764,7 +1764,9 @@ var gMainPane = {
      let defaultBrowserBox = document.getElementById("defaultBrowserBox");
      let isInFlatpak = gGIOService?.isRunningUnderFlatpak;
      // Flatpak does not support setting nor detection of default browser
      if (!shellSvc || isInFlatpak) {
      // tor-browser#41822 disable making Tor Browser the default browser
      // eslint-disable-next-line no-constant-condition
      if (shellSvc || isInFlatpak || true) {
        defaultBrowserBox.hidden = true;
        return;
      }