# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

[DEFAULT]
tags = appupdate
head = head_update.js
skip-if =
  (os == 'win' && (ccov || msix)) # Our updater is disabled in MSIX builds
prefs =
  app.update.staging.enabled=false
support-files =
  ../data/shared.js
  ../data/sharedUpdateXML.js
  ../data/xpcshellUtilsAUS.js
  ../data/app_update.sjs
  testConstants.js
  ../data/simple.mar

[ausReadStrings.js]
[canCheckForAndCanApplyUpdates.js]
[urlConstruction.js]
skip-if =
  socketprocess_networking # Bug 1759035
[updateManagerXML.js]
[remoteUpdateXML.js]
skip-if =
  socketprocess_networking # Bug 1759035
[cleanupDownloadingForOlderAppVersion.js]
[cleanupDownloadingForDifferentChannel.js]
[cleanupDownloadingForSameVersionAndBuildID.js]
[cleanupDownloadingIncorrectStatus.js]
[cleanupPendingVersionFileIncorrectStatus.js]
[cleanupSuccessLogMove.js]
[cleanupSuccessLogsFIFO.js]
[downloadInterruptedOffline.js]
skip-if =
  socketprocess_networking # Bug 1759035
[downloadInterruptedNoRecovery.js]
skip-if =
  socketprocess_networking # Bug 1759035
[downloadInterruptedRecovery.js]
skip-if =
  socketprocess_networking # Bug 1759035
[downloadResumeForSameAppVersion.js]
[languagePackUpdates.js]
skip-if =
  socketprocess_networking # Bug 1759035
[updateSyncManager.js]
[updateAutoPrefMigrate.js]
skip-if = os != 'win'
reason = Update pref migration is currently Windows only
[updateDirectoryMigrate.js]
skip-if = os != 'win'
reason = Update directory migration is currently Windows only
[multiUpdate.js]
skip-if =
  socketprocess_networking # Bug 1759035
[perInstallationPrefs.js]
[onlyDownloadUpdatesThisSession.js]
skip-if =
  socketprocess_networking # Bug 1759035
[disableBackgroundUpdatesBackgroundTask.js]
skip-if =
  socketprocess_networking # Bug 1759035
[disableBackgroundUpdatesNonBackgroundTask.js]
skip-if =
  socketprocess_networking # Bug 1759035
[ensureExperimentToRolloutTransitionPerformed.js]
run-if = os == 'win' && appname == 'firefox'
reason = Feature is Firefox-specific and Windows-specific.
[verifyChannelPrefsFile.js]
run-if = appname == 'firefox'
reason = File being verified is Firefox-specific.
[backgroundUpdateTaskInternalUpdater.js]
[updateCheckCombine.js]
