function createDownloadItem(aID, aFile, aTarget, aURI, aState, aStatus, aProgress, aStartTime, aReferrer) 
function createDownloadItem(aID, aFile, aTarget, aURI, aState, aProgress, aStartTime, aReferrer, aCurrBytes, aMaxBytes) 
function createDownloadItem(aID, aFile, aTarget, aURI, aState,                            aStatus, aProgress, aStartTime, aReferrer){  var dl = document.createElement("richlistitem");  dl.setAttribute("type", "download");  dl.setAttribute("id", "dl" + aID);  dl.setAttribute("dlid", aID);  dl.setAttribute("image", "moz-icon://" + aFile + "?size=32");  dl.setAttribute("file", aFile);  dl.setAttribute("target", aTarget);  dl.setAttribute("uri", aURI);  dl.setAttribute("state", aState);  dl.setAttribute("status", aStatus);  dl.setAttribute("progress", aProgress);  dl.setAttribute("startTime", aStartTime);  if (aReferrer)    dl.setAttribute("referrer", aReferrer);  try {    var file = getLocalFileFromNativePathOrUrl(aFile);    dl.setAttribute("path", file.nativePath || file.path);    return dl;  }  catch (ex) {    // aFile might not be a file: url or a valid native path    // see bug #392386 for details  }  return null;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/041ca1a291b7410c24d4376f2fdce4dac243bd9f/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js