rem: LOG("UI:DownloadingPage", "TYPE = " + gUpdates.update.selectedPatch.type); 
context:   onStopRequest: function(request, context, status) {    request.QueryInterface(nsIIncrementalDownload);    LOG("UI:DownloadingPage", "onStopRequest: " + request.URI.spec +         ", status = " + status);        this._downloadThrobber.removeAttribute("state");    const NS_BINDING_ABORTED = 0x804b0002;    switch (status) {    case Components.results.NS_ERROR_UNEXPECTED:        LOG("UI:DownloadingPage", "STATE = " + gUpdates.update.selectedPatch.state);      if (gUpdates.update.selectedPatch.state == STATE_FAILED)        this.showVerificationError();      else {        LOG("UI:DownloadingPage", "TYPE = " + gUpdates.update.selectedPatch.type);        // 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;        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.advance();      break;    default:      LOG("UI:DownloadingPage", "onStopRequest: Transfer failed");      // Some kind of transfer error, die.      gUpdates.advanceToErrorPageWithCode(status, 2152398849);      break;    }    var updates =         Components.classes["@mozilla.org/updates/update-service;1"].        getService(Components.interfaces.nsIApplicationUpdateService);    updates.removeDownloadListener(this);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/82d50f4e1ffb006877014c9899e6703a7abe8d34/updates.js/clean/toolkit/mozapps/update/content/updates.js