B2G/gecko/toolkit/components/places/tests/unit/test_486978_sort_by_date_queries.js
// adds a test URI visit to the database, and checks for a valid visitId
adds a test URI visit to the database, and checks for a valid visitId
adds a test URI visit to the database and checks for a valid visitId
function add_visit(aURI, aTime) {
  var visitId = hs.addVisit(uri(aURI),
                            aTime * 1000,
                            null, 
                            hs.TRANSITION_TYPED,
                            false, 
                            0);
  do_check_true(visitId > 0);
  return visitId;
}
function add_visit ( aURI , aTime ) { var visitId = hs . addVisit ( uri ( aURI ) , aTime * 1000 , null , hs . TRANSITION_TYPED , false , 0 ) ; do_check_true ( visitId > 0 ) ; return visitId ; }
adds a test URI visit to the database, and checks for a valid visitId
adds a test URI visit to the database and checks for a valid visitId
// no referrer // not redirect