rem: case Ci.nsIDownloadManager.DOWNLOAD_CANCELED: case Ci.nsIDownloadManager.DOWNLOAD_BLOCKED: case Ci.nsIDownloadManager.DOWNLOAD_FAILED: 
add: case nsIDM.DOWNLOAD_CANCELED: case nsIDM.DOWNLOAD_BLOCKED: case nsIDM.DOWNLOAD_FAILED: 
context: function onDownloadDblClick(aEvent){  var item = aEvent.target;  if (item.getAttribute("type") == "download" && aEvent.button == 0) {    var state = parseInt(item.getAttribute("state"));    switch (state) {      case Ci.nsIDownloadManager.DOWNLOAD_FINISHED:        gDownloadViewController.doCommand("cmd_open");        break;      case Ci.nsIDownloadManager.DOWNLOAD_DOWNLOADING:          gDownloadViewController.doCommand("cmd_pause");        break;      case Ci.nsIDownloadManager.DOWNLOAD_PAUSED:        gDownloadViewController.doCommand("cmd_resume");        break;      case Ci.nsIDownloadManager.DOWNLOAD_CANCELED:      case Ci.nsIDownloadManager.DOWNLOAD_BLOCKED:      case Ci.nsIDownloadManager.DOWNLOAD_FAILED:        gDownloadViewController.doCommand("cmd_retry");        break;    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/39be0419a4a695ce67977c967201261ea171190a/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js