B2G/gecko/toolkit/components/places/tests/unit/test_result_sort.js
// adds a test URI visit to the database
adds a test URI visit to the database
adds a test URI visit to the database
function add_visit(aURI, aTime) {
  let time = aTime || Date.now() * 1000;
  histsvc.addVisit(aURI,
                    time,
                    null, 
                    histsvc.TRANSITION_TYPED, 
                    false, 
                    0);
}
function add_visit ( aURI , aTime ) { let time = aTime || Date . now ( ) * 1000 ; histsvc . addVisit ( aURI , time , null , histsvc . TRANSITION_TYPED , false , 0 ) ; }
adds a test URI visit to the database
adds a test URI visit to the database
// no referrer // user typed in URL bar // not redirect