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

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

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 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
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 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
7 (Please avoid writing new tests using video-test.js) -->
6 <script src="video-test.js"></script> 8 <script src="video-test.js"></script>
7 <script> 9 <script>
8 function start() 10 function start()
9 { 11 {
10 findMediaElement(); 12 findMediaElement();
11 testExpected("video.webkitSupportsFullscreen", true); 13 testExpected("video.webkitSupportsFullscreen", true);
12 testExpected("video.webkitDisplayingFullscreen", false); 14 testExpected("video.webkitDisplayingFullscreen", false);
13 video.src = findMediaFile("video", "content/test"); 15 video.src = findMediaFile("video", "content/test");
14 waitForEvent("loadeddata", loadeddata); 16 waitForEvent("loadeddata", loadeddata);
15 } 17 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 testExpected("video.webkitDisplayingFullscreen", false); 51 testExpected("video.webkitDisplayingFullscreen", false);
50 endTest(); 52 endTest();
51 } 53 }
52 </script> 54 </script>
53 </head> 55 </head>
54 <body onload="start()"> 56 <body onload="start()">
55 <p>Test the prefixed HTMLVideoElement fullscreen API</p> 57 <p>Test the prefixed HTMLVideoElement fullscreen API</p>
56 <video></video> 58 <video></video>
57 </body> 59 </body>
58 </html> 60 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-poster-scale.html ('k') | third_party/WebKit/LayoutTests/media/video-preload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698