bin/XULRunner21_0/components/nsUpdateService.js
/**
   * Whether or not a patch has been downloaded and staged for installation.
   */
Whether or not a patch has been downloaded and staged for installation.
Whether or not a patch has been downloaded and staged for installation .
get patchIsStaged() {
    var readState = readStatusFile(getUpdatesDir());
    return readState == STATE_PENDING || readState == STATE_PENDING_SVC ||
           readState == STATE_APPLIED || readState == STATE_APPLIED_SVC;
  }
get patchIsStaged ( ) { var readState = readStatusFile ( getUpdatesDir ( ) ) ; return readState == STATE_PENDING || readState == STATE_PENDING_SVC || readState == STATE_APPLIED || readState == STATE_APPLIED_SVC ; }
Whether or not a patch has been downloaded and staged for installation.
Whether or not a patch has been downloaded and staged for installation .
// Note that if we decide to download and apply new updates after another // update has been successfully applied in the background, we need to stop // checking for the APPLIED state here.