rem:  var ioSvc = Cc["@mozilla.org/network/io-service;1"]. getService(Ci.nsIIOService); var file = ioSvc.newURI(aFile, null, null).QueryInterface(Ci.nsIFileURL).file; dl.setAttribute("path", file.nativePath || file.path);  
context: 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);  var ioSvc = Cc["@mozilla.org/network/io-service;1"].              getService(Ci.nsIIOService);  var file = ioSvc.newURI(aFile, null, null).QueryInterface(Ci.nsIFileURL).file;  dl.setAttribute("path", file.nativePath || file.path);  if (aReferrer)    dl.setAttribute("referrer", aReferrer);  return dl;}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/56848fe74cffadbe67b6335bb435f4282f0c191a/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js