Commit 73f74173 authored by morgan's avatar morgan 😸
Browse files

fixup! Bug 40166: Disable security.certerrors.mitm.auto_enable_enterprise_roots

- Revert 612d54e8
parent 04d6d341
Loading
Loading
Loading
Loading
+0 −14
Changes for browser/components/BrowserGlue.sys.mjs: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -1640,20 +1640,6 @@ BrowserGlue.prototype = {
    // _migrateUI to make sure this._isNewProfile has been defined.
    this._migrateUITBB();

    // Clear possibly auto enabled enterprise_roots prefs (see bug 40166)
    if (
      !Services.prefs.getBoolPref(
        "security.certerrors.mitm.auto_enable_enterprise_roots"
      ) &&
      Services.prefs.getBoolPref(
        "security.enterprise_roots.auto-enabled",
        false
      )
    ) {
      Services.prefs.clearUserPref("security.enterprise_roots.enabled");
      Services.prefs.clearUserPref("security.enterprise_roots.auto-enabled");
    }

    if (!Services.prefs.prefHasUserValue(PREF_PDFJS_ISDEFAULT_CACHE_STATE)) {
      lazy.PdfJs.checkIsDefault(this._isNewProfile);
    }