Commit 5f44c2e7 authored by Richard Pospesel's avatar Richard Pospesel Committed by brizental
Browse files

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

parent c3fc942a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1759,7 +1759,8 @@ 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
      if (shellSvc || isInFlatpak || true) {
        defaultBrowserBox.hidden = true;
        return;
      }