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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-tree-is-removed-properly.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 5
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 11
10 <script> 12 <script>
11 function emptyVideoTextContent() 13 function emptyVideoTextContent()
12 { 14 {
13 consoleWrite(""); 15 consoleWrite("");
14 consoleWrite("** Empty the contents of the video element when it is ready to play **"); 16 consoleWrite("** Empty the contents of the video element when it is ready to play **");
15 video.textContent = ""; 17 video.textContent = "";
16 18
17 consoleWrite(""); 19 consoleWrite("");
(...skipping 28 matching lines...) Expand all
46 48
47 </script> 49 </script>
48 </head> 50 </head>
49 <body onload="initElements()"> 51 <body onload="initElements()">
50 <p>Tests that the cue display tree has been removed properly and no cras h happens.</p> 52 <p>Tests that the cue display tree has been removed properly and no cras h happens.</p>
51 <video controls> 53 <video controls>
52 <track src="captions-webvtt/captions.vtt" kind="captions"> 54 <track src="captions-webvtt/captions.vtt" kind="captions">
53 </video> 55 </video>
54 </body> 56 </body>
55 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698