B2G/gecko/toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
/**
 * Checks to ensure a URI string is visited or not.
 *
 * @param aURI
 *        The URI to check.
 * @param aIsVisited
 *        True if the URI should be visited, false otherwise.
 */
Checks to ensure a URI string is visited or not.
@param aURI
The URI to check.
@param aIsVisited
True if the URI should be visited, false otherwise.
Checks to ensure a URI string is visited or not . @param aURI The URI to check . @param aIsVisited True if the URI should be visited false otherwise .
function check_visited(aURI, aIsVisited)
{
  let checker = aIsVisited ? do_check_true : do_check_false;
  checker(PlacesUtils.ghistory2.isVisited(aURI));
}
function check_visited ( aURI , aIsVisited ) { let checker = aIsVisited ? do_check_true : do_check_false ; checker ( PlacesUtils . ghistory2 . isVisited ( aURI ) ) ; }
Checks to ensure a URI string is visited or not.
Checks to ensure a URI string is visited or not .