OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=media-file.js></script> | 4 <script src=media-file.js></script> |
| 5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 6 (Please avoid writing new tests using video-test.js) --> |
5 <script src=video-test.js></script> | 7 <script src=video-test.js></script> |
6 <script> | 8 <script> |
7 var ratechangeCount = 0; | 9 var ratechangeCount = 0; |
8 var playingCount = 0; | 10 var playingCount = 0; |
9 var progressEventCount = 0; | 11 var progressEventCount = 0; |
10 var pauseEventCount = 0; | 12 var pauseEventCount = 0; |
11 | 13 |
12 function eventHandler() | 14 function eventHandler() |
13 { | 15 { |
14 // Don't log progress event since the number and order are platf
orm | 16 // Don't log progress event since the number and order are platf
orm |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 onseeked="eventHandler()" | 104 onseeked="eventHandler()" |
103 onseeking="eventHandler()" | 105 onseeking="eventHandler()" |
104 onstalled="eventHandler()" | 106 onstalled="eventHandler()" |
105 onvolumechange="eventHandler()" | 107 onvolumechange="eventHandler()" |
106 onwaiting="eventHandler()" | 108 onwaiting="eventHandler()" |
107 > | 109 > |
108 </video> | 110 </video> |
109 | 111 |
110 </body> | 112 </body> |
111 </html> | 113 </html> |
OLD | NEW |