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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-disabled.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 <script src="../media-file.js"></script> 4 <script src="../media-file.js"></script>
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
6 (Please avoid writing new tests using video-test.js) -->
5 <script src="../video-test.js"></script> 7 <script src="../video-test.js"></script>
6 <script> 8 <script>
7 if (window.testRunner) 9 if (window.testRunner)
8 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
9 11
10 waitForEvent('loadstart', function () 12 waitForEvent('loadstart', function ()
11 { 13 {
12 var video = document.getElementById('vid'); 14 var video = document.getElementById('vid');
13 video.textTracks[0].mode = "disabled"; 15 video.textTracks[0].mode = "disabled";
14 16
(...skipping 12 matching lines...) Expand all
27 }); 29 });
28 30
29 </script> 31 </script>
30 </head> 32 </head>
31 <body> 33 <body>
32 <video id="vid" src="../content/test.ogv" autoplay controls> 34 <video id="vid" src="../content/test.ogv" autoplay controls>
33 <track kind='subtitles' srclang='en' label='English' src='captions-w ebvtt/captions.vtt' /> 35 <track kind='subtitles' srclang='en' label='English' src='captions-w ebvtt/captions.vtt' />
34 </video> 36 </video>
35 </body> 37 </body>
36 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698