blob: 95cfd7ecdbd72b076a098d67f55c654077ad4149 [file] [log] [blame]
Test that calling play() and pause() on a video element with audio source triggers play and pause events.
RUN(video.src = findMediaFile("audio", "content/silence"))
RUN(handlePromise(video.play()))
RUN(video.pause())
EVENT(play)
EVENT(waiting)
EVENT(pause)
EXPECTED (video.paused == 'true') OK
END OF TEST