onProgress: function(request, context, progress, maxProgress) { request.QueryInterface(nsIIncrementalDownload); LOG("UI:DownloadingPage.onProgress", " " + request.URI.spec + ", " + progress + "/" + maxProgress);  var name = gUpdates.strings.getFormattedString("downloadingPrefix", [gUpdates.update.name]); var status = this.statusFormatter.formatStatus(progress, maxProgress); var progress = Math.round(100 * (progress/maxProgress));  var p = gUpdates.update.selectedPatch; p.QueryInterface(Components.interfaces.nsIWritablePropertyBag); p.setProperty("progress", progress); p.setProperty("status", status);    if (this._paused) return;  if (!(this._downloadThrobber.hasAttribute("state") && (this._downloadThrobber.getAttribute("state") == "loading"))) this._downloadThrobber.setAttribute("state", "loading"); if (this._downloadProgress.mode != "normal") this._downloadProgress.mode = "normal"; this._downloadProgress.value = progress; this._pauseButton.disabled = false; this._downloadName.value = name; this._setStatus(status); }, 
onProgress: function(request, position, totalSize) { var pm = document.getElementById("checkingProgress"); checkingProgress.setAttribute("mode", "normal"); checkingProgress.setAttribute("value", Math.floor(100 * (position/totalSize))); }, 
  onProgress: function(request, context, progress, maxProgress) {    request.QueryInterface(nsIIncrementalDownload);    LOG("UI:DownloadingPage.onProgress", " " + request.URI.spec + ", " + progress +         "/" + maxProgress);    var name = gUpdates.strings.getFormattedString("downloadingPrefix", [gUpdates.update.name]);    var status = this.statusFormatter.formatStatus(progress, maxProgress);    var progress = Math.round(100 * (progress/maxProgress));    var p = gUpdates.update.selectedPatch;    p.QueryInterface(Components.interfaces.nsIWritablePropertyBag);    p.setProperty("progress", progress);    p.setProperty("status", status);        // This !paused test is necessary because onProgress may fire after    // the download was paused (for those speedy clickers...)    if (this._paused)      return;    if (!(this._downloadThrobber.hasAttribute("state") &&         (this._downloadThrobber.getAttribute("state") == "loading")))      this._downloadThrobber.setAttribute("state", "loading");    if (this._downloadProgress.mode != "normal")      this._downloadProgress.mode = "normal";    this._downloadProgress.value = progress;    this._pauseButton.disabled = false;    this._downloadName.value = name;    this._setStatus(status);  },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/dd0789ea577a496e2622a164a469a9cb1bcf058d/updates.js/clean/toolkit/mozapps/update/content/updates.js