[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / audio-playback-restriction-play-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('audio', 'content/test'))
6 EVENT(canplaythrough)
7 RUN(handlePromise(video.play()))
8 EXPECTED (video.paused == 'true') OK
9 Running with keyDown.
10 RUN(video.play())
11 EXPECTED (video.paused == 'false') OK
12 END OF TEST
13