blob: 7b86e544bee81ffa3e4fd7b4bdfe6b2d5cf5189e [file] [log] [blame]
Test mediaUsageState.
EVENT(canplaythrough)
** Check state before playback, there should be no usage state.
NotSupportedError: The operation is not supported.
** Mute video, there should still be no usage state.
RUN(video.muted = true)
NotSupportedError: The operation is not supported.
** Unmute video, there should still be no usage state.
RUN(video.muted = false)
NotSupportedError: The operation is not supported.
** Try to play without user gesture, there should still be no usage state.
EVENT(playing)
NotSupportedError: The operation is not supported.
END OF TEST