[DEFAULT]
tags = "appupdate internal"
head = "head.js"
support-files = [
  "../data/shared.js",
  "../data/sharedUpdateXML.js",
  "../data/app_update.sjs",
  "downloadPage.html",
  "testConstants.js",
]
prefs = [
  "app.update.BITS.enabled=false",
  "app.update.langpack.enabled=true",
]
run-if = [
  "!msix", # Updater is disabled in MSIX builds
]

# About Dialog Application Update Tests

["browser_aboutDialog_AppUpdater_stop_checking.js"]

["browser_aboutDialog_AppUpdater_stop_download_and_install.js"]

["browser_aboutDialog_AppUpdater_stop_download_failed.js"]

["browser_aboutDialog_AppUpdater_stop_downloading.js"]

["browser_aboutDialog_AppUpdater_stop_internal_error.js"]

["browser_aboutDialog_AppUpdater_stop_no_update.js"]

["browser_aboutDialog_AppUpdater_stop_ready_for_restart.js"]

["browser_aboutDialog_AppUpdater_stop_staging.js"]

["browser_aboutDialog_AppUpdater_stop_swap.js"]

["browser_aboutDialog_bc_downloaded.js"]
tags = "os_integration"

["browser_aboutDialog_bc_downloaded_staged.js"]

["browser_aboutDialog_bc_downloaded_staging.js"]

["browser_aboutDialog_bc_downloaded_stagingFailure.js"]

["browser_aboutDialog_bc_downloading.js"]

["browser_aboutDialog_bc_downloading_notify.js"]

["browser_aboutDialog_bc_downloading_staging.js"]

["browser_aboutDialog_bc_multiUpdate.js"]

["browser_aboutDialog_fc_apply_blocked.js"]

["browser_aboutDialog_fc_check_cantApply.js"]
run-if = [
  "os == 'win' && !msix", # "test must be able to prevent file deletion."
]
tags = "os_integration"

["browser_aboutDialog_fc_check_malformedXML.js"]

["browser_aboutDialog_fc_check_noUpdate.js"]

["browser_aboutDialog_fc_check_otherInstance.js"]
tags = "os_integration"

["browser_aboutDialog_fc_check_unsupported.js"]

["browser_aboutDialog_fc_downloadAuto.js"]
skip-if = [
  "os == 'win' && os_version == '11.26200' && asan", # Bug 2019745
]

["browser_aboutDialog_fc_downloadAuto_staging.js"]

["browser_aboutDialog_fc_downloadOptIn.js"]

["browser_aboutDialog_fc_downloadOptIn_staging.js"]

["browser_aboutDialog_fc_network_failure.js"]

["browser_aboutDialog_fc_network_offline.js"]

["browser_aboutDialog_fc_patch_completeBadSize.js"]

["browser_aboutDialog_fc_patch_partialBadSize.js"]

["browser_aboutDialog_fc_patch_partialBadSize_complete.js"]

["browser_aboutDialog_fc_patch_partialBadSize_completeBadSize.js"]

["browser_aboutDialog_internalError.js"]

["browser_aboutPrefs_backgroundUpdateSetting.js"]

["browser_aboutPrefs_bc_downloaded.js"]

["browser_aboutPrefs_bc_downloaded_staged.js"]

["browser_aboutPrefs_bc_downloaded_staging.js"]

["browser_aboutPrefs_bc_downloaded_stagingFailure.js"]

# about:preferences Application Update Tests

["browser_aboutPrefs_bc_downloading.js"]

["browser_aboutPrefs_bc_downloading_staging.js"]

["browser_aboutPrefs_bc_multiUpdate.js"]

["browser_aboutPrefs_fc_apply_blocked.js"]

["browser_aboutPrefs_fc_check_cantApply.js"]
run-if = [
  "os == 'win' && !msix", # "test must be able to prevent file deletion."
]
tags = "os_integration"

["browser_aboutPrefs_fc_check_malformedXML.js"]

["browser_aboutPrefs_fc_check_noUpdate.js"]

["browser_aboutPrefs_fc_check_otherInstance.js"]
tags = "os_integration"

["browser_aboutPrefs_fc_check_unsupported.js"]

["browser_aboutPrefs_fc_downloadAuto.js"]
tags = "os_integration"

["browser_aboutPrefs_fc_downloadAuto_staging.js"]

["browser_aboutPrefs_fc_downloadOptIn.js"]

["browser_aboutPrefs_fc_downloadOptIn_staging.js"]

["browser_aboutPrefs_fc_network_failure.js"]

["browser_aboutPrefs_fc_network_offline.js"]

["browser_aboutPrefs_fc_patch_completeBadSize.js"]

["browser_aboutPrefs_fc_patch_partialBadSize.js"]

["browser_aboutPrefs_fc_patch_partialBadSize_complete.js"]
skip-if = [
  "os == 'win' && debug && standalone", # Bug 2028653
]

["browser_aboutPrefs_fc_patch_partialBadSize_completeBadSize.js"]

["browser_aboutPrefs_internalError.js"]

["browser_aboutPrefs_settings.js"]

# Doorhanger Application Update Tests

["browser_doorhanger_bc_check_cantApply.js"]
run-if = [
  "os == 'win' && !msix", # "test must be able to prevent file deletion."
]
tags = "os_integration"

["browser_doorhanger_bc_check_malformedXML.js"]

["browser_doorhanger_bc_check_unsupported.js"]

["browser_doorhanger_bc_downloadAutoFailures.js"]

["browser_doorhanger_bc_downloadAutoFailures_bgWin.js"]

["browser_doorhanger_bc_downloadOptIn.js"]

["browser_doorhanger_bc_downloadOptIn_bgWin.js"]

["browser_doorhanger_bc_downloadOptIn_staging.js"]

["browser_doorhanger_bc_downloaded.js"]

["browser_doorhanger_bc_downloaded_staged.js"]

["browser_doorhanger_bc_multiUpdate.js"]
tags = "os_integration"
skip-if = [
  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && opt",
]

["browser_doorhanger_bc_multiUpdate_promptWaitTime.js"]

["browser_doorhanger_bc_patch_completeBadSize.js"]

["browser_doorhanger_bc_patch_partialBadSize.js"]

["browser_doorhanger_bc_patch_partialBadSize_complete.js"]

["browser_doorhanger_bc_patch_partialBadSize_completeBadSize.js"]

["browser_doorhanger_sp_patch_completeApplyFailure.js"]

["browser_doorhanger_sp_patch_partialApplyFailure.js"]

["browser_doorhanger_sp_patch_partialApplyFailure_complete.js"]

["browser_doorhanger_sp_patch_partialApplyFailure_completeBadSize.js"]

["browser_doorhanger_sp_patch_partialApplyFailure_complete_staging.js"]

# Elevation Dialog Tests

["browser_elevationDialog.js"]
tags = "os_integration"

# Memory Fallback Tests

["browser_memory_allocation_error_fallback.js"]
tags = "os_integration"

# Telemetry Update Ping Tests

["browser_telemetry_updatePing_downloaded_ready.js"]

["browser_telemetry_updatePing_staged_ready.js"]
