rem: if (updates.isDownloading) { if (activeUpdate.name) { label = strings.getFormattedString("updates_downloadingUpdates", [activeUpdate.name]); } else label = strings.getString("updates_downloadingUpdatesFallback"); } else { if (activeUpdate.name) { label = strings.getFormattedString("updates_resumeDownloading", [activeUpdate.name]); } else label = strings.getString("updates_resumeDownloadingFallback"); 
add: switch (activeUpdate.state) { case "downloading":    key = updates.isDownloading ? "downloading" : "resume"; break; case "pending":   key = "pending"; break; 
context: function buildHelpMenu(){  var updates =       Components.classes["@mozilla.org/updates/update-service;1"].      getService(Components.interfaces.nsIApplicationUpdateService);  var um =       Components.classes["@mozilla.org/updates/update-manager;1"].      getService(Components.interfaces.nsIUpdateManager);  // Disable the UI if the update enabled pref has been locked by the   // administrator or if we cannot update for some other reason  var checkForUpdates = document.getElementById("checkForUpdates");  var canUpdate = updates.canUpdate;  checkForUpdates.setAttribute("disabled", !canUpdate);  if (!canUpdate)    return;   var strings = document.getElementById("bundle_browser");  var label = strings.getString("updates_checkForUpdates");  var activeUpdate = um.activeUpdate;  if (activeUpdate) {    if (updates.isDownloading) {      if (activeUpdate.name) {        label = strings.getFormattedString("updates_downloadingUpdates",           [activeUpdate.name]);      }      else        label = strings.getString("updates_downloadingUpdatesFallback");    }    else {      if (activeUpdate.name) {        label = strings.getFormattedString("updates_resumeDownloading",          [activeUpdate.name]);      }      else        label = strings.getString("updates_resumeDownloadingFallback");    }  }    checkForUpdates.label = label;  if (um.activeUpdate && updates.isDownloading)    checkForUpdates.setAttribute("loading", "true");  else    checkForUpdates.removeAttribute("loading");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/45f42ac5f63076f4237e458fff0f0ab8aa180b59/utilityOverlay.js/buggy/browser/base/content/utilityOverlay.js