Commit 8d6703a7 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by morgan
Browse files

Bug 42774: Always hide the third-pary certs UI.

parent 983e902d
Loading
Loading
Loading
Loading
+2 −1
Changes for browser/components/preferences/privacy.js: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -511,7 +511,8 @@ var gPrivacyPane = {
    let canConfigureThirdPartyCerts =
      (AppConstants.platform == "win" || AppConstants.platform == "macosx") &&
      typeof Services.policies.getActivePolicies()?.Certificates
        ?.ImportEnterpriseRoots == "undefined";
        ?.ImportEnterpriseRoots == "undefined" &&
      !AppConstants.BASE_BROWSER_VERSION;

    document.getElementById("certEnableThirdPartyToggleBox").hidden =
      !canConfigureThirdPartyCerts;