buildDownloadListWithTime(Date.now() - 24 * 3600 * 1000 * 7); 
 let pref = Cc["@mozilla.org/preferences-service;1"]. getService(Ci.nsIPrefBranch); let days = pref.getIntPref(PREF_BDM_DISPLAYEDHISTORYDAYS); buildDownloadListWithTime(Date.now() - days * 24 * 60 * 60 * 1000); 
function buildDefaultView(){  buildActiveDownloadsList();  buildDownloadListWithTime(Date.now() - 24 * 3600 * 1000 * 7); // One week  // select the first visible download item, if any  var children = gDownloadsView.children;  if (children.length > 0)    gDownloadsView.selectedItem = children[0];}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a72b5a46ebffab9d2d34bcfa02fb68494590206a/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js