B2G/gecko/toolkit/components/places/tests/unit/test_async_history_api.js
/**
 * Object that represents a mozIVisitInfo object.
 *
 * @param [optional] aTransitionType
 *        The transition type of the visit.  Defaults to TRANSITION_LINK if not
 *        provided.
 * @param [optional] aVisitTime
 *        The time of the visit.  Defaults to now if not provided.
 */
Object that represents a mozIVisitInfo object.
@param [optional] aTransitionType
The transition type of the visit.  Defaults to TRANSITION_LINK if not
provided.
@param [optional] aVisitTime
The time of the visit.  Defaults to now if not provided.
Object that represents a mozIVisitInfo object . @param [ optional ] aTransitionType The transition type of the visit . Defaults to TRANSITION_LINK if not provided . @param [ optional ] aVisitTime The time of the visit . Defaults to now if not provided .
function VisitInfo(aTransitionType,
                   aVisitTime)
{
  this.transitionType =
    aTransitionType === undefined ? TRANSITION_LINK : aTransitionType;
  this.visitDate = aVisitTime || Date.now() * 1000;
}
function VisitInfo ( aTransitionType , aVisitTime ) { this . transitionType = aTransitionType === undefined ? TRANSITION_LINK : aTransitionType ; this . visitDate = aVisitTime || Date . now ( ) * 1000 ; }
Object that represents a mozIVisitInfo object.
Object that represents a mozIVisitInfo object .