gecko/toolkit/mozapps/update/test/chrome
Ehsan Akhgari ab9253304f Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
..
Makefile.in Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
test_0011_check_basic.xul
test_0012_check_basic_license.xul
test_0013_check_incompat_basic.xul
test_0014_check_incompat_basic_license.xul
test_0015_check_incompat_basic_addons.xul
test_0016_check_incompat_basic_license_addons.xul
test_0021_check_billboard.xul
test_0022_check_billboard_license.xul
test_0023_check_incompat_billboard.xul
test_0024_check_incompat_billboard_license.xul
test_0025_check_incompat_billboard_addons.xul
test_0026_check_incompat_billboard_license_addons.xul
test_0031_available_basic.xul
test_0032_available_basic_license.xul
test_0033_available_incompat_basic.xul
test_0034_available_incompat_basic_license.xul
test_0035_available_incompat_basic_addons.xul
test_0036_available_incompat_basic_license_addons.xul
test_0041_available_billboard.xul
test_0042_available_billboard_license.xul
test_0043_available_incompat_billboard.xul
test_0044_available_incompat_billboard_license.xul
test_0045_available_incompat_billboard_addons.xul
test_0046_available_incompat_billboard_license_addons.xul
test_0051_check_error_xml_malformed.xul
test_0052_check_no_updates.xul
test_0053_check_billboard_license_noAttr.xul
test_0054_check_billboard_license_404.xul
test_0061_check_verifyFailPartial_noComplete.xul
test_0062_check_verifyFailComplete_noPartial.xul
test_0063_check_verifyFailPartialComplete.xul
test_0064_check_verifyFailPartial_successComplete.xul
test_0071_notify_verifyFailPartial_noComplete.xul
test_0072_notify_verifyFailComplete_noPartial.xul
test_0073_notify_verifyFailPartialComplete.xul
test_0074_notify_verifyFailPartial_successComplete.xul
test_0081_error_patchApplyFailure_partial_only.xul
test_0082_error_patchApplyFailure_complete_only.xul
test_0083_error_patchApplyFailure_partial_complete.xul
test_0084_error_patchApplyFailure_verify_failed.xul
test_0091_installed.xul
test_0092_finishedBackground.xul
test_0093_stagedBackground.xul Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
test_0094_stagedServiceBackground.xul Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
test_0111_neverButton_basic.xul
test_0112_neverButton_billboard.xul
test_0113_showNeverForVersionRemovedWithPref.xul
test_0121_check_requireBuiltinCert.xul
test_0122_check_allowNonBuiltinCert_validCertAttrs.xul
test_0123_check_allowNonBuiltinCert_noCertAttrsCheck.xul
test_0131_check_invalidCertAttrs_noUpdate.xul
test_0132_check_invalidCertAttrs_hasUpdate.xul
test_0141_notify_invalidCertAttrs_noUpdate.xul
test_0142_notify_invalidCertAttrs_hasUpdate.xul
test_0151_notify_backgroundCheckError.xul
test_0900_deprecatedUpdateFormat_minor.xul
test_0901_deprecatedUpdateFormat_major.xul
test_9999_cleanup.xul Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
update.sjs
utils.js Bug 704987: Ignore the hotfix add-on when warning users about incompatible add-ons. r=robstrong 2011-12-16 12:04:40 -08:00