| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <html> |   2 <html> | 
|   3     <head> |   3     <head> | 
|   4         <title>Test currentTime values when setting while HAVE_NOTHING for media
     fragment URI.</title> |   4         <title>Test currentTime values when setting while HAVE_NOTHING for media
     fragment URI.</title> | 
|   5     </head> |   5     </head> | 
|   6     <body> |   6     <body> | 
|   7         <video id="video"></video> |   7         <video id="video"></video> | 
|   8         <script src=media-file.js></script> |   8         <script src=media-file.js></script> | 
|   9         <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   9         <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|  10              (Please avoid writing new tests using video-test.js) --> |  10              (Please avoid writing new tests using video-test.js) --> | 
|  11         <script src=video-test.js></script> |  11         <script src=video-test.js></script> | 
|  12         <script> |  12         <script> | 
|  13             video = document.getElementById('video'); |  13             video = document.getElementById('video'); | 
|  14  |  14  | 
|  15             video.src = findMediaFile("video", "content/test") + "#t=2"; |  15             video.src = findMediaFile("video", "content/test") + "#t=2"; | 
|  16             testExpected("video.currentTime", 0); |  16             testExpected("video.currentTime", 0); | 
|  17             video.currentTime = 1; |  17             video.currentTime = 1; | 
|  18  |  18  | 
|  19             waitForEvent('loadedmetadata', function() |  19             waitForEvent('loadedmetadata', function() | 
|  20             { |  20             { | 
|  21                 testExpected("video.currentTime", 1); |  21                 testExpected("video.currentTime", 1); | 
|  22             }); |  22             }); | 
|  23  |  23  | 
|  24             waitForEventAndEnd('seeked'); |  24             waitForEventAndEnd('seeked'); | 
|  25         </script> |  25         </script> | 
|  26     </body> |  26     </body> | 
|  27 </html> |  27 </html> | 
| OLD | NEW |