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 <title>Test that video is playing after media element is re-added</title
> | 5 <title>Test that video is playing after media element is re-added</title
> |
6 | 6 |
| 7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 8 (Please avoid writing new tests using video-test.js) --> |
7 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
8 <script src=../media-file.js></script> | 10 <script src=../media-file.js></script> |
9 <script> | 11 <script> |
10 if (window.testRunner) | 12 if (window.testRunner) |
11 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
12 | 14 |
13 function endTest() | 15 function endTest() |
14 { | 16 { |
15 consoleWrite("<br>** Succesfully played the video **"); | 17 consoleWrite("<br>** Succesfully played the video **"); |
16 | 18 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 57 |
56 <body onload="start()"> | 58 <body onload="start()"> |
57 <p>Tests that re-adding a media element to the document, having a child
track that failed | 59 <p>Tests that re-adding a media element to the document, having a child
track that failed |
58 loading doesn't block video from playing</p> | 60 loading doesn't block video from playing</p> |
59 | 61 |
60 <video width="320" height="240" controls> | 62 <video width="320" height="240" controls> |
61 <track src="captions-webvtt/tc004-no-webvtt.vtt" kind="captions" def
ault> | 63 <track src="captions-webvtt/tc004-no-webvtt.vtt" kind="captions" def
ault> |
62 </video> | 64 </video> |
63 </body> | 65 </body> |
64 </html> | 66 </html> |
OLD | NEW |