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 | |