B2G/gecko/image/test/mochitest/imgutils.js
// Helper function to determine if the image is loaded for a given image id
Helper function to determine if the image is loaded for a given image id
Helper function to determine if the image is loaded for a given image id
function isImageLoaded(id)
{
  return (getImageStatus(id) &
          SpecialPowers.Ci.imgIRequest.STATUS_LOAD_COMPLETE)
         ? true : false;
}
function isImageLoaded ( id ) { return ( getImageStatus ( id ) & SpecialPowers . Ci . imgIRequest . STATUS_LOAD_COMPLETE ) ? true : false ; }
Helper function to determine if the image is loaded for a given image id
Helper function to determine if the image is loaded for a given image id