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

Side by Side Diff: third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.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>This tests that controls do not fade out when the video is playin g remotely.</title> 4 <title>This tests that controls do not fade out when the video is playin g remotely.</title>
5 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.js"></script>
7 <script src="media-file.js"></script> 7 <script src="media-file.js"></script>
8 <script src="media-controls.js"></script> 8 <script src="media-controls.js"></script>
9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
10 (Please avoid writing new tests using video-test.js) -->
9 <script src="video-test.js"></script> 11 <script src="video-test.js"></script>
10 </head> 12 </head>
11 <body> 13 <body>
12 <video controls loop></video> 14 <video controls loop></video>
13 <script> 15 <script>
14 var controls; 16 var controls;
15 var test; 17 var test;
16 18
17 function playing() 19 function playing()
18 { 20 {
(...skipping 21 matching lines...) Expand all
40 async_test(function(t) 42 async_test(function(t)
41 { 43 {
42 test = t; 44 test = t;
43 findMediaElement(); 45 findMediaElement();
44 video.src = findMediaFile("video", "content/test"); 46 video.src = findMediaFile("video", "content/test");
45 video.addEventListener("playing", playing); 47 video.addEventListener("playing", playing);
46 video.play(); 48 video.play();
47 }); 49 });
48 </script> 50 </script>
49 </body> 51 </body>
50 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698