Commit 168906e5 authored by Richard Pospesel's avatar Richard Pospesel Committed by Beatriz Rizental
Browse files

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

parent b94bfbb4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1931,7 +1931,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;
      }