OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../media/media-file.js"></script> | 4 <script src="../../media/media-file.js"></script> |
5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
6 (Please avoid writing new tests using video-test.js) --> | 6 (Please avoid writing new tests using video-test.js) --> |
7 <script src="../../media/video-test.js"></script> | 7 <script src="../../media/video-test.js"></script> |
8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
9 if (window.testRunner) { | 9 if (window.testRunner) { |
10 window.testRunner.dumpAsTextWithPixelResults(); | 10 window.testRunner.dumpAsTextWithPixelResults(); |
11 window.testRunner.waitUntilDone(); | 11 window.testRunner.waitUntilDone(); |
12 } | 12 } |
13 function runTest() { | 13 function runTest() { |
14 video = document.getElementById('video'); | 14 video = document.getElementById('video'); |
15 video.addEventListener('canplaythrough', canplaythrough, true); | 15 video.addEventListener('canplaythrough', canplaythrough, true); |
(...skipping 15 matching lines...) Expand all Loading... |
31 video { | 31 video { |
32 -webkit-box-reflect: below 0px; | 32 -webkit-box-reflect: below 0px; |
33 border: 3px solid red; | 33 border: 3px solid red; |
34 } | 34 } |
35 </style> | 35 </style> |
36 </head> | 36 </head> |
37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
38 <video id="video"></video> | 38 <video id="video"></video> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |