blob: c8057f60021478346d8cd56b5ca983d1c1e31394 [file] [log] [blame]
Test that, when RequireUserGestureForAudioRateChange is set, starting playback of an audio file requires a user gesture.
RUN(internals.setMediaElementRestrictions(video, "RequireUserGestureForAudioRateChange"))
RUN(video.src = findMediaFile('audio', 'content/test'))
EVENT(canplaythrough)
RUN(setTimeout(timeout, 100))
EXPECTED (video.paused == 'true') OK
END OF TEST