Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-play-require-user-gesture-expected.txt
blob734bd917f232b04a2b5d2e1d6454abb9ec1e86fb
1 CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
2 Test that video play() does not work unless a user clicked on the play button.
4 EVENT(canplaythrough)
6 * No user gesture initiated
7 RUN(video.play())
8 EXPECTED (video.paused == 'true') OK
10 * User gesture initiated
11 EVENT(playing)
12 RUN(video.pause())
13 EVENT(pause)
14 EXPECTED (video.paused == 'true') OK
15 END OF TEST