rem: case "cmd_cleanUp": return gDownloadManager.canCleanUp; case "cmd_remove": return gDownloadsView.selectedItem != null; 
add: case "cmd_cancel": return dl.inProgress; case "cmd_open": case "cmd_show": let file = getLocalFileFromNativePathOrUrl(dl.getAttribute("file")); return dl.openable && file.exists(); case "cmd_pause": return dl.inProgress && !dl.paused; case "cmd_pauseResume": return dl.inProgress || dl.paused; case "cmd_resume": return dl.paused; case "cmd_remove": case "cmd_retry": return dl.removable; case "cmd_showInfo": return true; 
context:   isCommandEnabled: function (aCommand)  {    if (!window.gDownloadsView)      return false;        switch (aCommand) {    case "cmd_cleanUp":      return gDownloadManager.canCleanUp;    case "cmd_remove":      return gDownloadsView.selectedItem != null;    }    return false;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/43455f9fc69a7b8e33dae13cc90fd333fc5448d2/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js