appinfo.OS === "WINNT";
});

// Application type

ChromeUtils.defineLazyGetter(AppInfo, "isFirefox", () => {
  return Services.appinfo.ID == ID_FIREFOX;
});

ChromeUtils.defineLazyGetter(AppInfo, "isThunderbird", () => {
  return Services.appinfo.ID == ID_THUNDERBIRD;
});

export function getTimeoutMultiplier() {
  if (
    AppConstants.DEBUG ||
    AppConstants.MOZ_CODE_COVERAGE ||
    AppConstants.ASAN
  ) {
    return 4;
  }
  if (AppConstants.TSAN) {
    return 8;
  }

  return 1;
}
PK