Commit 7746d2ef 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 a9454912
Loading
Loading
Loading
Loading
+3 −1
Changes for browser/components/preferences/main.js: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2021,7 +2021,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;
      }