Commit d5836ff8 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 52617ac8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2094,7 +2094,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;
      }