| 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 | 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=video-test.js></script> | 7 <script src=video-test.js></script> |
| 8 <script> | 8 <script> |
| 9 var seekCount = 0; | 9 var seekCount = 0; |
| 10 var expectedSeek = 0; | 10 var expectedSeek = 0; |
| 11 var video; | 11 var video; |
| 12 | 12 |
| 13 function seeking(e) | 13 function seeking(e) |
| 14 { | 14 { |
| 15 consoleWrite("seeking " + e.target.currentTime.toFixed(2)); | 15 consoleWrite("seeking " + e.target.currentTime.toFixed(2)); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 window.addEventListener('load', onWindowLoad, false); | 76 window.addEventListener('load', onWindowLoad, false); |
| 77 </script> | 77 </script> |
| 78 </head> | 78 </head> |
| 79 <body> | 79 <body> |
| 80 <video controls id="video"></video> | 80 <video controls id="video"></video> |
| 81 <p>Test currentTime values when setting from seeking event.</p> | 81 <p>Test currentTime values when setting from seeking event.</p> |
| 82 <br/> | 82 <br/> |
| 83 </body> | 83 </body> |
| 84 </html> | 84 </html> |
| OLD | NEW |