add:   gDownloadsView.clearSelection(); var rowCount = gDownloadsView.getRowCount(); if (selectedIndex >= rowCount) gDownloadsView.selectedIndex = rowCount - 1; else gDownloadsView.selectedIndex = selectedIndex  gDownloadsView.selectedItem.focus(); 
context: function onDownloadResume(aEvent){  gDownloadManager.resumeDownload(aEvent.target.id);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/11bd6bff69b485c82262126f8b4c7d00bac721a7/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js