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

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

Issue 178003008: Remove the HTMLVideoElement-specific prefixed fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm negative test Created 6 years, 10 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 CONSOLE WARNING: 'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Pleas e use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inst ead. 1 Test that video play() does not work unless a user clicked on the play button.
2 Test that video play(), pause() and webkitEnterFullScreen() should not work unle ss a user clicked on the play button.
3 2
4 EVENT(canplaythrough) 3 EVENT(canplaythrough)
5 4
6 * No user gesture initiated 5 * No user gesture initiated
7 RUN(video.play()) 6 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
9 EXPECTED (video.paused == 'true') OK 7 EXPECTED (video.paused == 'true') OK
10 8
11 * User gesture initiated 9 * User gesture initiated
12 EVENT(playing) 10 EVENT(playing)
13 RUN(video.pause()) 11 RUN(video.pause())
14 EVENT(pause) 12 EVENT(pause)
15 EXPECTED (video.paused == 'true') OK 13 EXPECTED (video.paused == 'true') OK
16 RUN(video.webkitEnterFullScreen())
17 END OF TEST 14 END OF TEST
18 15
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