Changes

Jump to: navigation, search

Background Updates

196 bytes added, 22:51, 17 October 2011
Implementation
** If the user needs to prompted for some reason, we show that prompt. If the user declines, we bail out.
** Otherwise, we go ahead and download the update (as a complete/partial MAR file) in the background.
* Once the download is finished, Firefox launches the updater binary in the background with the UI display disabled. Searching for new updates will be paused during this time.
** The target of the update will be known <code>FIREFOX_NEW</code> from now on.
*** On Windows, if Firefox is installed to "C:\path\to\Mozilla Firefox", <code>FIREFOX_NEW</code> will be "C:\path\to\Mozilla Firefox.new".
** If this directory exists, it will be removed.
* The updater binary will go ahead and apply the update to the <code>FIREFOX_NEW</code> directory using the existing installation directory as the base.
* The updater binary will write a new manifest file to the existing installation's directory.* The updater binary will shutdown, and signal the Firefox main process.* The Firefox main process will resume searching for new updates.
Confirm
657
edits

Navigation menu