OLD | NEW |
1 <p>This test intentionally lets the video keep playing past endTest() to ensure | 1 <p>This test intentionally lets the video keep playing past endTest() to ensure |
2 that shutdown is clean, since DumpRenderTree used to crash in this case.</p> | 2 that shutdown is clean, since DumpRenderTree used to crash in this case.</p> |
3 | 3 |
4 <video autoplay id="video"></video> | 4 <video autoplay id="video"></video> |
5 <script src=media-file.js></script> | 5 <script src=media-file.js></script> |
| 6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 7 (Please avoid writing new tests using video-test.js) --> |
6 <script src=video-test.js></script> | 8 <script src=video-test.js></script> |
7 <script type="text/javascript"> | 9 <script type="text/javascript"> |
8 if (window.testRunner) | 10 if (window.testRunner) |
9 testRunner.dumpAsText(); | 11 testRunner.dumpAsText(); |
10 waitForEvent("playing", null, true); | 12 waitForEvent("playing", null, true); |
11 video.src = findMediaFile("video", "content/test"); | 13 video.src = findMediaFile("video", "content/test"); |
12 </script> | 14 </script> |
OLD | NEW |