B2G/gecko/toolkit/components/places/tests/favicons/head_favicons.js
/**
 * Checks that the given page has no associated favicon.
 *
 * @param aPageURI
 *        nsIURI object for the page to check.
 * @param aCallback
 *        This function is called after the check finished.
 */
Checks that the given page has no associated favicon.
@param aPageURI
nsIURI object for the page to check.
@param aCallback
This function is called after the check finished.
Checks that the given page has no associated favicon . @param aPageURI nsIURI object for the page to check . @param aCallback This function is called after the check finished .
function checkFaviconMissingForPage(aPageURI, aCallback) {
  PlacesUtils.favicons.getFaviconURLForPage(aPageURI,
    function (aURI, aDataLen, aData, aMimeType) {
      do_check_true(aURI === null);
      aCallback();
    });
}
function checkFaviconMissingForPage ( aPageURI , aCallback ) { PlacesUtils . favicons . getFaviconURLForPage ( aPageURI , function ( aURI , aDataLen , aData , aMimeType ) { do_check_true ( aURI === null ) ; aCallback ( ) ; } ) ; }
Checks that the given page has no associated favicon.
Checks that the given page has no associated favicon .