rem: if (download.localName == "download") { var src = document.getElementById(download.id).getAttribute("uri"); var f = getLocalFileFromNativePathOrUrl(aEvent.target.getAttribute("file")); saveURL(src, f, null, true, true); } 
add: if (download.localName == "download") gDownloadManager.retryDownload(download.getAttribute("dlid")); 
context: function onDownloadRetry(aEvent){  var download = aEvent.target;  if (download.localName == "download") {    var src = document.getElementById(download.id).getAttribute("uri");    var f = getLocalFileFromNativePathOrUrl(aEvent.target.getAttribute("file"));    saveURL(src, f, null, true, true);  }    gDownloadViewController.onCommandUpdate();  // retry always places the item in the first spot  gDownloadsView.selectedIndex = 0;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/d13f6121d99057fa2d859167c84f30c00f619921/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js