function createDownloadItem(aID, aFile, aTarget, aURI, aState, aProgress, aStartTime, aEndTime, aReferrer, aCurrBytes, aMaxBytes) 
function createDownloadItem(aAttrs) 
function createDownloadItem(aID, aFile, aTarget, aURI, aState, aProgress,                            aStartTime, aEndTime, aReferrer, aCurrBytes,                            aMaxBytes){  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("progress", aProgress);  dl.setAttribute("startTime", aStartTime);  dl.setAttribute("endTime", aEndTime);  if (aReferrer)    dl.setAttribute("referrer", aReferrer);  dl.setAttribute("currBytes", aCurrBytes);  dl.setAttribute("maxBytes", aMaxBytes);  dl.setAttribute("lastSeconds", Infinity);  updateTime(dl);  updateStatus(dl);  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;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/9a1d793ed199840168e87d4d74714e5218c22810/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js