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

Side by Side Diff: LayoutTests/media/video-enter-fullscreen-without-user-gesture.html

Issue 196793021: Ignore MediaController in the video fullscreen button logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</title> 3 <title>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</title>
4 <script src=media-controls.js></script>
5 <script src=media-file.js></script> 4 <script src=media-file.js></script>
6 <script src=video-test.js></script> 5 <script src=video-test.js></script>
7 <script> 6 <script>
8 if (window.internals) 7 if (window.internals)
9 window.internals.settings.setMediaFullscreenRequiresUserGesture( false); 8 window.internals.settings.setMediaFullscreenRequiresUserGesture( false);
10 9
11 function canplaythrough() 10 function canplaythrough()
12 { 11 {
13 consoleWrite(""); 12 consoleWrite("");
14 consoleWrite("* No user gesture initiated"); 13 consoleWrite("* No user gesture initiated");
(...skipping 14 matching lines...) Expand all
29 video.src = findMediaFile("video", "content/test"); 28 video.src = findMediaFile("video", "content/test");
30 } 29 }
31 </script> 30 </script>
32 </head> 31 </head>
33 32
34 <body onload="start()"> 33 <body onload="start()">
35 <p>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</p> 34 <p>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</p>
36 <video controls></video> 35 <video controls></video>
37 </body> 36 </body>
38 </html> 37 </html>
OLDNEW
« no previous file with comments | « LayoutTests/media/video-controls-fullscreen-with-controller-expected.txt ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698