function buildDownloadList(aStmt, aRef) 
function buildDownloadList() 
function buildDownloadList(aStmt, aRef){  while (aRef.nextSibling && aRef.nextSibling.tagName == "richlistitem")    gDownloadsView.removeChild(aRef.nextSibling);  while (aStmt.executeStep()) {    let id = aStmt.getInt64(0);    let state = aStmt.getInt32(4);    let percentComplete = 100;    if (state == nsIDM.DOWNLOAD_NOTSTARTED ||        state == nsIDM.DOWNLOAD_DOWNLOADING ||        state == nsIDM.DOWNLOAD_PAUSED) {      // so we have an in-progress download that we need to determine the      // proper percentage complete for.  This download will actually be in      // the active downloads array internally, so calling getDownload is cheap.      let dl = gDownloadManager.getDownload(id);      percentComplete = dl.percentComplete;    }    let dl = createDownloadItem(id,                                aStmt.getString(1),                                aStmt.getString(2),                                aStmt.getString(3),                                state,                                percentComplete,                                Math.round(aStmt.getInt64(5) / 1000),                                Math.round(aStmt.getInt64(6) / 1000),                                aStmt.getString(7),                                aStmt.getInt64(8),                                aStmt.getInt64(9));    if (dl)      gDownloadsView.insertBefore(dl, aRef.nextSibling);  }  evenOddCellAttribution();}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/9a1d793ed199840168e87d4d74714e5218c22810/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js