| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |