rem: onProgress: function(request, position, totalSize) { var pm = document.getElementById("checkingProgress"); checkingProgress.setAttribute("mode", "normal"); checkingProgress.setAttribute("value", Math.floor(100 * (position/totalSize))); }, 
add: onProgress: function(request, context, progress, maxProgress) { request.QueryInterface(nsIIncrementalDownload);   var p = gUpdates.update.selectedPatch; p.QueryInterface(Components.interfaces.nsIWritablePropertyBag); p.setProperty("progress", Math.round(100 * (progress/maxProgress))); p.setProperty("status", this._statusFormatter.formatStatus(progress, maxProgress));  this._downloadProgress.mode = "normal"; this._downloadProgress.value = parseInt(p.getProperty("progress")); this._pauseButton.disabled = false; var name = gUpdates.strings.getFormattedString("downloadingPrefix", [gUpdates.update.name]); this._downloadName.value = name; this._setStatus(p.getProperty("status")); }, 
context:     onProgress: function(request, position, totalSize) {      var pm = document.getElementById("checkingProgress");      checkingProgress.setAttribute("mode", "normal");      checkingProgress.setAttribute("value", Math.floor(100 * (position/totalSize)));    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2998ae70b69b27afcc4ec8892ad85e2a7fbeef39/updates.js/clean/toolkit/mozapps/update/content/updates.js