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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-first-line-box.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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 5
6 <style> 6 <style>
7 -webkit-media-text-track-display { display: block; } 7 -webkit-media-text-track-display { display: block; }
8 </style> 8 </style>
9 9
10 <script src=../media-file.js></script> 10 <script src=../media-file.js></script>
11 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
12 (Please avoid writing new tests using video-test.js) -->
11 <script src=../video-test.js></script> 13 <script src=../video-test.js></script>
12 <script> 14 <script>
13 function startTest() 15 function startTest()
14 { 16 {
15 findMediaElement(); 17 findMediaElement();
16 video.src = findMediaFile('video', '../content/test'); 18 video.src = findMediaFile('video', '../content/test');
17 19
18 consoleWrite("** Add a text track to the video element **"); 20 consoleWrite("** Add a text track to the video element **");
19 video.addTextTrack("captions", "regular captions track", "en"); 21 video.addTextTrack("captions", "regular captions track", "en");
20 22
(...skipping 10 matching lines...) Expand all
31 endTest(); 33 endTest();
32 } 34 }
33 </script> 35 </script>
34 </head> 36 </head>
35 37
36 <body onload="startTest()"> 38 <body onload="startTest()">
37 <p>Tests that setting display to block does not crash the browser.</p> 39 <p>Tests that setting display to block does not crash the browser.</p>
38 <video controls /> 40 <video controls />
39 </body> 41 </body>
40 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698