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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-horizontal.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 <script src=../media-file.js></script> 6 <script src=../media-file.js></script>
7 7
8 <script> 8 <script>
9 var requirePixelDump = true; 9 var requirePixelDump = true;
10 10
11 function loaded() 11 function loaded()
12 { 12 {
13 consoleWrite("Rendering horizontal line-positioned cues."); 13 consoleWrite("Rendering horizontal line-positioned cues.");
14 findMediaElement(); 14 findMediaElement();
15 15
16 testTrack = document.querySelector('track'); 16 testTrack = document.querySelector('track');
17 video.src = findMediaFile('video', '../content/test'); 17 video.src = findMediaFile('video', '../content/test');
18 18
19 waitForEvent('seeked', endTest); 19 waitForEvent('seeked', endTest);
20 waitForEvent('canplaythrough', function() { 20 waitForEvent('canplaythrough', function() {
21 video.currentTime = .25; 21 video.currentTime = .25;
22 }); 22 });
23 } 23 }
24 24
25 </script> 25 </script>
26 26
27 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
28 (Please avoid writing new tests using video-test.js) -->
27 <script src=../video-test.js></script> 29 <script src=../video-test.js></script>
28 </head> 30 </head>
29 <body onload="loaded()"> 31 <body onload="loaded()">
30 <video> 32 <video>
31 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca ptions" default> 33 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca ptions" default>
32 </video> 34 </video>
33 </body> 35 </body>
34 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698