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