rem: gExtensionManager.addDownloads(items, items.length, true); 
add: gExtensionManager.addDownloads(items, items.length, null); 
context: function installUpdatesAll() {  if (isOffline("offlineUpdateMsg"))    return;  if (!isXPInstallEnabled())    return;  if (gUpdatesOnly)    document.getElementById("addonsMsg").removeCurrentNotification();  var items = [];  var children = gExtensionsView.children;  for (var i = 0; i < children.length; ++i) {    var includeUpdate = document.getAnonymousElementByAttribute(children[i], "anonid", "includeUpdate");    if (includeUpdate && includeUpdate.checked)      items.push(gExtensionManager.getItemForID(getIDFromResourceURI(children[i].id)));  }  if (items.length > 0) {    gExtensionManager.addDownloads(items, items.length, true);    showView("installs");    // Remove the updates view if there are no add-ons left to update    updateOptionalViews();    updateGlobalCommands();  }}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/8fbb3c4529be06f9a8ccc6dda8d7cc063fd2d97a/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js