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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-controls-captions.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 <title>Test closed caption track selection functionality.</title> 5 <title>Test closed caption track selection functionality.</title>
6 <script src=media-file.js></script> 6 <script src=media-file.js></script>
7 <script src=media-controls.js></script> 7 <script src=media-controls.js></script>
8 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 8 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
9 (Please avoid writing new tests using video-test.js) --> 9 (Please avoid writing new tests using video-test.js) -->
10 <script src=video-test.js></script> 10 <script src=video-test.js></script>
11 <script> 11 <script>
12 var track; 12 var track;
13 13
14 function addTextTrackThroughJS() 14 function addTextTrackThroughJS()
15 { 15 {
16 consoleWrite(""); 16 consoleWrite("");
17 consoleWrite("** Add a text track through JS to the video element ** "); 17 consoleWrite("** Add a text track through JS to the video element ** ");
18 var t = video.addTextTrack('captions', 'English', 'en'); 18 var t = video.addTextTrack('captions', 'English', 'en');
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 </script> 118 </script>
119 </head> 119 </head>
120 <body onload="loaded()"> 120 <body onload="loaded()">
121 <p>Tests that the closed captions button enables track switching</p> 121 <p>Tests that the closed captions button enables track switching</p>
122 <video controls> 122 <video controls>
123 <track src="track/captions-webvtt/captions-fast.vtt" kind="captions" onl oad="testCCTrackSelectionFunctionality()"> 123 <track src="track/captions-webvtt/captions-fast.vtt" kind="captions" onl oad="testCCTrackSelectionFunctionality()">
124 </video> 124 </video>
125 </body> 125 </body>
126 </html> 126 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698