[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-playback-restriction-play-before-load-expected.txt
1 Test that, when RequireUserGestureForAudioRateChange is set, starting playback of an audio file requires a user gesture.
2
3
4 RUN(internals.setMediaElementRestrictions(video, "RequireUserGestureForAudioRateChange"))
5 RUN(video.src = findMediaFile('video', 'content/test'))
6 RUN(video.play().then(resolvePromise, rejectPromise))
7 Promise correctly rejected.
8 END OF TEST
9