OLD | NEW |
1 <script src=media-file.js></script> | 1 <script src=media-file.js></script> |
2 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 2 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
3 (Please avoid writing new tests using video-test.js) --> | 3 (Please avoid writing new tests using video-test.js) --> |
4 <script src=video-test.js></script> | 4 <script src=video-test.js></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function runTest() | 7 function runTest() |
8 { | 8 { |
9 var canPlayThroughCount = 0; | 9 var canPlayThroughCount = 0; |
10 var videoShouldPlay; | 10 var videoShouldPlay; |
11 var videoShouldNotPlay; | 11 var videoShouldNotPlay; |
12 | 12 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 videoShouldPlay = prepareVideo(parent); | 65 videoShouldPlay = prepareVideo(parent); |
66 videoShouldNotPlay = prepareVideo(parent); | 66 videoShouldNotPlay = prepareVideo(parent); |
67 } | 67 } |
68 | 68 |
69 </script> | 69 </script> |
70 <p>Test that the autoplay experiment doesn't play media once the media | 70 <p>Test that the autoplay experiment doesn't play media once the media |
71 is no longer eligible for autoplay.</p> | 71 is no longer eligible for autoplay.</p> |
72 <body onLoad="runTest()"> | 72 <body onLoad="runTest()"> |
73 </body> | 73 </body> |
OLD | NEW |