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

Side by Side Diff: LayoutTests/media/video-prefixed-fullscreen.html

Issue 1240573005: Make video.webkitSupportsFullscreen an alias of document.fullscreenEnabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: move comments to assert descriptions Created 5 years, 5 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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test the prefixed HTMLVideoElement fullscreen API</title> 4 <title>Test the prefixed HTMLVideoElement fullscreen API</title>
5 <script src="media-file.js"></script> 5 <script src="media-file.js"></script>
6 <script src="video-test.js"></script> 6 <script src="video-test.js"></script>
7 <script> 7 <script>
8 function start() 8 function start()
9 { 9 {
10 findMediaElement(); 10 findMediaElement();
11 testExpected("video.webkitSupportsFullscreen", false); 11 testExpected("video.webkitSupportsFullscreen", true);
12 testExpected("video.webkitDisplayingFullscreen", false); 12 testExpected("video.webkitDisplayingFullscreen", false);
13 video.src = findMediaFile("video", "content/test"); 13 video.src = findMediaFile("video", "content/test");
14 waitForEvent("loadeddata", loadeddata); 14 waitForEvent("loadeddata", loadeddata);
15 } 15 }
16 16
17 function loadeddata() 17 function loadeddata()
18 { 18 {
19 testExpected("video.webkitSupportsFullscreen", true); 19 testExpected("video.webkitSupportsFullscreen", true);
20 testExpected("video.webkitDisplayingFullscreen", false); 20 testExpected("video.webkitDisplayingFullscreen", false);
21 run("video.webkitEnterFullscreen()"); 21 run("video.webkitEnterFullscreen()");
(...skipping 27 matching lines...) Expand all
49 testExpected("video.webkitDisplayingFullscreen", false); 49 testExpected("video.webkitDisplayingFullscreen", false);
50 endTest(); 50 endTest();
51 } 51 }
52 </script> 52 </script>
53 </head> 53 </head>
54 <body onload="start()"> 54 <body onload="start()">
55 <p>Test the prefixed HTMLVideoElement fullscreen API</p> 55 <p>Test the prefixed HTMLVideoElement fullscreen API</p>
56 <video></video> 56 <video></video>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698