  onStopRequest: function(request, context, status) {    request.QueryInterface(nsIIncrementalDownload);    LOG("UI:DownloadingPage", "onStopRequest: " + request.URI.spec +         ", status = " + status);        if (this._downloadThrobber.hasAttribute("state"))      this._downloadThrobber.removeAttribute("state");    if (this._downloadProgress.mode != "normal")      this._downloadProgress.mode = "normal";    var u = gUpdates.update;    const NS_BINDING_ABORTED = 0x804b0002;    switch (status) {    case Components.results.NS_ERROR_UNEXPECTED:      if (u.selectedPatch.state == STATE_DOWNLOAD_FAILED &&           u.isCompleteUpdate) {        // Verification error of complete patch, informational text is held in         // the update object.        gUpdates.wiz.currentPage = document.getElementById("errors");      }      else {        // Verification failed for a partial patch, complete patch is now        // downloading so return early and do NOT remove the download listener!                // Reset the progress meter to "undertermined" mode so that we don't         // show old progress for the new download of the "complete" patch.        this._downloadProgress.mode = "undetermined";        this._pauseButton.disabled = true;                var verificationFailed = document.getElementById("verificationFailed");        verificationFailed.hidden = false;        this._statusFormatter = null;        return;      }      break;    case NS_BINDING_ABORTED:      LOG("UI:DownloadingPage", "onStopRequest: Pausing Download");      // Return early, do not remove UI listener since the user may resume      // downloading again.      return;    case Components.results.NS_OK:      LOG("UI:DownloadingPage", "onStopRequest: Patch Verification Succeeded");      gUpdates.wiz.canAdvance = true;      gUpdates.wiz.advance();      break;    default:      LOG("UI:DownloadingPage", "onStopRequest: Transfer failed");      // Some kind of transfer error, die.      gUpdates.wiz.currentPage = document.getElementById("errors");      break;    }    var updates =         Components.classes["@mozilla.org/updates/update-service;1"].        getService(Components.interfaces.nsIApplicationUpdateService);    updates.removeDownloadListener(this);  },
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/dd0789ea577a496e2622a164a469a9cb1bcf058d/updates.js/clean/toolkit/mozapps/update/content/updates.js