rem: var downloadID = "dl" + aDownload.id; var download = this.doc.getElementById(downloadID); if (download) download.setAttribute("status", ""); 
add: let dl = getDownload(aDownload.id); if (dl) dl.setAttribute("status", ""); 
context:   onStateChange: function(aWebProgress, aRequest, aStateFlags, aStatus, aDownload)  {    if (aStateFlags & Components.interfaces.nsIWebProgressListener.STATE_STOP) {      var downloadID = "dl" + aDownload.id;      var download = this.doc.getElementById(downloadID);      if (download)        download.setAttribute("status", "");    }  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/43455f9fc69a7b8e33dae13cc90fd333fc5448d2/DownloadProgressListener.js/buggy/toolkit/mozapps/downloads/content/DownloadProgressListener.js