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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-kind-user-preference.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 <script src=../media-file.js></script> 2 <script src=../media-file.js></script>
3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
4 (Please avoid writing new tests using video-test.js) -->
3 <script src=../video-test.js></script> 5 <script src=../video-test.js></script>
4 <script src=../media-controls.js></script> 6 <script src=../media-controls.js></script>
5 <script> 7 <script>
6 8
7 var tracks; 9 var tracks;
8 var expectedTrack; 10 var expectedTrack;
9 function setPreferences() { 11 function setPreferences() {
10 if (!window.internals) { 12 if (!window.internals) {
11 consoleWrite("<b>** This test only works in DRT! **<" + "/b>"); 13 consoleWrite("<b>** This test only works in DRT! **<" + "/b>");
12 return; 14 return;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 </script> 89 </script>
88 <video> 90 <video>
89 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="de"> 91 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="de">
90 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="es"> 92 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="es">
91 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="en"> 93 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="en">
92 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="fr"> 94 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="fr">
93 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="es"> 95 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="es">
94 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="ar" defau lt> 96 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="ar" defau lt>
95 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="fr" defaul t> 97 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="fr" defaul t>
96 </video> 98 </video>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698