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

Side by Side Diff: third_party/WebKit/LayoutTests/media/audio-controls-captions.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 <title>Test closed caption button visbility.</title> 5 <title>Test closed caption button visbility.</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
9 (Please avoid writing new tests using video-test.js) -->
8 <script src=video-test.js></script> 10 <script src=video-test.js></script>
9 </head> 11 </head>
10 <body> 12 <body>
11 <p>Tests that the closed captions button is not visible.</p> 13 <p>Tests that the closed captions button is not visible.</p>
12 <audio controls> 14 <audio controls>
13 <track src="track/captions-webvtt/captions-fast.vtt"> 15 <track src="track/captions-webvtt/captions-fast.vtt">
14 </audio> 16 </audio>
15 <script> 17 <script>
16 findMediaElement(); 18 findMediaElement();
17 audio.src = findMediaFile('audio', 'content/test'); 19 audio.src = findMediaFile('audio', 'content/test');
18 audio.addEventListener('loadedmetadata', function() 20 audio.addEventListener('loadedmetadata', function()
19 { 21 {
20 testClosedCaptionsButtonVisibility(false); 22 testClosedCaptionsButtonVisibility(false);
21 endTest(); 23 endTest();
22 }); 24 });
23 </script> 25 </script>
24 </body> 26 </body>
25 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698