Commit 33251a1e authored by ma1's avatar ma1 Committed by ma1
Browse files

fixup! BB 40925: Implemented the Security Level component

BB 44275: Reduce console noise on security level guessing
parent 78327397
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -338,14 +338,14 @@ var read_setting_from_prefs = function (prefNames) {
      const actual = Services.prefs.getBoolPref(prefName);
      if (wanted !== actual) {
        possibleSetting = false;
        logger.info(
        logger.debug(
          `${prefName} does not match level ${settingIndex}: ${actual}, should be ${wanted}!`
        );
        break;
      }
    }
    if (possibleSetting) {
      // We have a match!
      logger.debug(`Preferences match level ${settingIndex}.`);
      return settingIndex;
    }
  }