rem: buildDownloadListWithTime(Date.now() - 24 * 3600 * 1000 * 7); 
add:  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); 
context: 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];}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/3b03a0f21615d5639fcd78fe77eef4ff193dde91/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js