Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: LayoutTests/media/video-play-require-user-gesture-expected.txt

Issue 191273002: Revert "Remove the HTMLVideoElement-specific prefixed fullscreen API" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/video-play-require-user-gesture.html ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test that video play() does not work unless a user clicked on the play button. 1 CONSOLE WARNING: 'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Pleas e use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inst ead.
2 Test that video play(), pause() and webkitEnterFullScreen() should not work unle ss a user clicked on the play button.
2 3
3 EVENT(canplaythrough) 4 EVENT(canplaythrough)
4 5
5 * No user gesture initiated 6 * No user gesture initiated
6 RUN(video.play()) 7 RUN(video.play())
8 TEST(video.webkitEnterFullScreen()) THROWS(DOMException.INVALID_STATE_ERR: Faile d to execute 'webkitEnterFullScreen' on 'HTMLVideoElement': This element may onl y enter fullscreen mode in response to a user gesture ('click', for example).) O K
7 EXPECTED (video.paused == 'true') OK 9 EXPECTED (video.paused == 'true') OK
8 10
9 * User gesture initiated 11 * User gesture initiated
10 EVENT(playing) 12 EVENT(playing)
11 RUN(video.pause()) 13 RUN(video.pause())
12 EVENT(pause) 14 EVENT(pause)
13 EXPECTED (video.paused == 'true') OK 15 EXPECTED (video.paused == 'true') OK
16 RUN(video.webkitEnterFullScreen())
14 END OF TEST 17 END OF TEST
15 18
OLDNEW
« no previous file with comments | « LayoutTests/media/video-play-require-user-gesture.html ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698