| OLD | NEW | 
|   1 <!DOCTYPE HTML> |   1 <!DOCTYPE HTML> | 
|   2  |   2  | 
|   3 <html> |   3 <html> | 
|   4     <head> |   4     <head> | 
|   5         <title>local video</title> |   5         <title>local video</title> | 
|   6  |   6  | 
|   7         <script src=media-file.js></script> |   7         <script src=media-file.js></script> | 
|   8         <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   8         <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   9              (Please avoid writing new tests using video-test.js) --> |   9              (Please avoid writing new tests using video-test.js) --> | 
|  10         <script src=video-test.js></script> |  10         <script src=video-test.js></script> | 
|  11  |  11  | 
|  12         <script> |  12         <script> | 
|  13             function ended() |  13             function ended() | 
|  14             { |  14             { | 
|  15                 testExpected("video.duration", 0, '>'); |  15                 testExpected("video.duration", 0, '>'); | 
|  16                 endTest(); |  16                 endTest(); | 
|  17             } |  17             } | 
|  18  |  18  | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  39                 consoleWrite(""); |  39                 consoleWrite(""); | 
|  40             } |  40             } | 
|  41  |  41  | 
|  42         </script> |  42         </script> | 
|  43     </head> |  43     </head> | 
|  44     <body onload="start()"> |  44     <body onload="start()"> | 
|  45         <video controls autobuffer></video> |  45         <video controls autobuffer></video> | 
|  46         <p>Tests that duration is known after playback ended.</p> |  46         <p>Tests that duration is known after playback ended.</p> | 
|  47     </body> |  47     </body> | 
|  48 </html> |  48 </html> | 
| OLD | NEW |