gecko/browser/base/content
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
..
abouthome Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
newtab Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
overrides Bug 730814 - update about:license to MPL 2. Also add a link to the FAQ, 2012-02-28 16:29:05 +00:00
pageinfo Bug 733297 - When saving a video from Page Info, the file picker title is 'Save Image'. r=jaws 2012-05-21 14:26:18 +08:00
sync Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
aboutDialog.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
aboutDialog.js 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
aboutDialog.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
aboutRobots-icon.png
aboutRobots-widget-left.png
aboutRobots.xhtml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
baseMenuOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-appmenu.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-charsetmenu.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-context.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-doctype.inc Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
browser-fullZoom.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-menubar.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-places.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-sets.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-syncui.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-tabPreviews.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-tabPreviews.xml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-tabview.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser-thumbnails.js Bug 748802 - browser-thumbnails.js uses global private browsing state instead of per-window state. r=ehsan 2012-05-02 09:35:12 +08:00
browser.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browser.js Bug 753546 Part 2 - Don't allow fullscreen approval decision to be remembered for document's whose URI doesn't have a host. r=dao 2012-05-22 08:43:36 +12:00
browser.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
browserMountPoints.inc
content.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
downloadManagerOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
global-scripts.inc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
hiddenWindow.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
highlighter.css Bug 724509 - Add an Option menu in the Inspector Toolbar. r=dao r=dcamp 2012-05-11 16:54:47 +02:00
jsConsoleOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
macBrowserOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContextMenu.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
openLocation.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
openLocation.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
safeMode.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
safeMode.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitize.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitize.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitizeDialog.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
sanitizeDialog.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
softwareUpdateOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tabbrowser.css Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
tabbrowser.xml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
urlbarBindings.xml Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
utilityOverlay.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
viewSourceOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
web-panels.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
web-panels.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
win6BrowserOverlay.xul Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00