Add new access object callback
[framework/web/webkit-efl.git] / LayoutTests / media / video-play-require-user-gesture-expected.txt
1 Test that video play(), pause() and webkitEnterFullScreen() should not work unless a user clicked on the play button.
2
3 EVENT(canplaythrough)
4
5 * No user gesture initiated
6 RUN(video.play())
7 TEST(video.webkitEnterFullScreen()) THROWS(DOMException.INVALID_STATE_ERR) OK
8 EXPECTED (video.paused == 'true') OK
9
10 * User gesture initiated
11 EVENT(playing)
12 RUN(video.pause())
13 EVENT(pause)
14 EXPECTED (video.paused == 'true') OK
15 RUN(video.webkitEnterFullScreen())
16 END OF TEST
17