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

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

Powered by Google App Engine
This is Rietveld 408576698