gecko/toolkit/components
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
..
aboutmemory Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
alerts Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
apppicker Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
autocomplete Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
build 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
commandlines Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
console Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
contentprefs Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
cookie Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
ctypes Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
downloads Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
exthelper Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
feeds Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
filepicker Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
find Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
help Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
intl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
maintenanceservice 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
microformats Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
parentalcontrols Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
passwordmgr Bug 756701 - Clear private data should not move things to the deleted items table. r=mfinkle,dolske 2012-05-21 13:55:28 -07:00
perf Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
places Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
printing Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
prompts Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
reflect Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
remote Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
satchel Bug 756701 - Clear private data should not move things to the deleted items table. r=mfinkle,dolske 2012-05-21 13:55:28 -07:00
search Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
startup Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
statusfilter Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
telemetry merge m-c to fx-team 2012-05-22 15:20:39 +02:00
typeaheadfind Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
url-classifier Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
urlformatter Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
viewconfig Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
viewsource Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsDefaultCLH.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsDefaultCLH.manifest