| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2     <head> |   2     <head> | 
|   3         <script src=../../media-resources/media-file.js></script> |   3         <script src=../../media-resources/media-file.js></script> | 
|   4         <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   4         <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   5              (Please avoid writing new tests using video-test.js) --> |   5              (Please avoid writing new tests using video-test.js) --> | 
|   6         <script src=../../media-resources/video-test.js></script> |   6         <script src=../../media-resources/video-test.js></script> | 
|   7         <script> |   7         <script> | 
|   8             function start() |   8             function start() | 
|   9             { |   9             { | 
|  10                 findMediaElement(); |  10                 findMediaElement(); | 
|  11  |  11  | 
|  12                 waitForEvent('durationchange'); |  12                 waitForEvent('durationchange'); | 
|  13                 waitForEvent('loadedmetadata'); |  13                 waitForEvent('loadedmetadata'); | 
|  14                 waitForEventOnce('loadeddata', function () |  14                 waitForEventOnce('loadeddata', function () | 
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  68                 video.src = '/' + mediaFile; |  68                 video.src = '/' + mediaFile; | 
|  69                 run('video.play()'); |  69                 run('video.play()'); | 
|  70             } |  70             } | 
|  71         </script> |  71         </script> | 
|  72     </head> |  72     </head> | 
|  73     <body onload="start()"> |  73     <body onload="start()"> | 
|  74         <video></video> |  74         <video></video> | 
|  75         <p>Test event dispatches and attribute changes for seek to duration</p> |  75         <p>Test event dispatches and attribute changes for seek to duration</p> | 
|  76     </body> |  76     </body> | 
|  77 </html> |  77 </html> | 
| OLD | NEW |