OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=../../media-resources/media-file.js></script> | 4 <script src=../../media-resources/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-resources/video-test.js></script> | 7 <script src=../../media-resources/video-test.js></script> |
8 <script> | 8 <script> |
9 var loadCount = 0; | 9 var loadCount = 0; |
10 | 10 |
11 if (window.testRunner) { | 11 if (window.testRunner) { |
12 testRunner.dumpAsText(); | 12 testRunner.dumpAsText(); |
13 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
14 } | 14 } |
15 | 15 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 <video controls | 57 <video controls |
58 oncanplaythrough="canplaythrough()" | 58 oncanplaythrough="canplaythrough()" |
59 onloadstart="loadstart()"> | 59 onloadstart="loadstart()"> |
60 </video> | 60 </video> |
61 <p>Make sure we don't reload a <video> element after a dialog is s
hown.<br> | 61 <p>Make sure we don't reload a <video> element after a dialog is s
hown.<br> |
62 Test this by loading a movie slowly and showing a dialog when a 'loadsta
rt' event <br> | 62 Test this by loading a movie slowly and showing a dialog when a 'loadsta
rt' event <br> |
63 handler is called. If the movie is reloaded when the dialog is "dismisse
d", another <br> | 63 handler is called. If the movie is reloaded when the dialog is "dismisse
d", another <br> |
64 'loadstart' event will be fired</p> | 64 'loadstart' event will be fired</p> |
65 </body> | 65 </body> |
66 </html> | 66 </html> |
OLD | NEW |