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