[iOS] remote command should be considered user events
[WebKit-https.git] / LayoutTests / media / remote-control-command-is-user-gesture-expected.txt
1 Test that a remote control command is treated as a user gesture.
2
3
4 RUN(internals.setMediaElementRestrictions(video, "RequireUserGestureForVideoRateChange"))
5 * set video.src
6 EVENT(loadedmetadata)
7
8 * video.play() should fail 
9 RUN(video.play())
10 EXPECTED (video.paused == 'true') OK
11
12 * Send a play command, it should succeed.
13 RUN(internals.postRemoteControlCommand('play'))
14
15 EVENT(timeupdate)
16 END OF TEST
17