rem: histsvc.addVisit(testURI, (Date.now() - (86400 * 2 * 1000)) * 1000, 0, histsvc.TRANSITION_TYPED, false, 0); 
add: histsvc.addVisit(testURI, (Date.now() - (86400 * 2 * 1000)) * 1000, null, histsvc.TRANSITION_TYPED, false, 0); 
context: function startExpireDaysOnly() {  // setup  histsvc.removeAllPages();  observer.expiredURI = null;  dump("startExpireDaysOnly()\n");  // add expirable visit  histsvc.addVisit(testURI, (Date.now() - (86400 * 2 * 1000)) * 1000, 0, histsvc.TRANSITION_TYPED, false, 0);  annosvc.setPageAnnotation(testURI, testAnnoName, testAnnoVal, 0, annosvc.EXPIRE_WITH_HISTORY);  // add un-expirable visit  histsvc.addVisit(uri("http://unexpirable.com"), (Date.now() - (86400 * 1000)) * 1000, 0, histsvc.TRANSITION_TYPED, false, 0);  // set visit cap to 2  prefs.setIntPref("browser.history_expire_sites", 2);  // set date minimum to 2  prefs.setIntPref("browser.history_expire_days_min", 2);  // set date maximum to 3  prefs.setIntPref("browser.history_expire_days", 3);  // trigger expiration  ghist.addURI(triggerURI, false, true, null);   // setup confirmation  do_timeout(3600, "checkExpireDaysOnly();"); // incremental expiration timer is 3500}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/456602fe3000a8a13deb14e6edd60539b7fe42e3/test_expiration.js/clean/toolkit/components/places/tests/unit/test_expiration.js