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