| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <html> |   2 <html> | 
|   3 <head> |   3 <head> | 
|   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=video-test.js></script> |   6     <script src=video-test.js></script> | 
|   7     <script type="text/javascript"> |   7     <script type="text/javascript"> | 
|   8         function doTest () |   8         function doTest () | 
|   9         { |   9         { | 
|  10             testExpected("HTMLMediaElement.NETWORK_EMPTY", 0); |  10             testExpected("HTMLMediaElement.NETWORK_EMPTY", 0); | 
|  11             testExpected("HTMLMediaElement.NETWORK_IDLE", 1); |  11             testExpected("HTMLMediaElement.NETWORK_IDLE", 1); | 
|  12             testExpected("HTMLMediaElement.NETWORK_LOADING", 2); |  12             testExpected("HTMLMediaElement.NETWORK_LOADING", 2); | 
|  13             testExpected("HTMLMediaElement.NETWORK_NO_SOURCE", 3); |  13             testExpected("HTMLMediaElement.NETWORK_NO_SOURCE", 3); | 
|  14             consoleWrite(""); |  14             consoleWrite(""); | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  26             testExpected("MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED", 4); |  26             testExpected("MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED", 4); | 
|  27  |  27  | 
|  28             endTest(); |  28             endTest(); | 
|  29         } |  29         } | 
|  30     </script> |  30     </script> | 
|  31 </head> |  31 </head> | 
|  32 <body onload="doTest()"> |  32 <body onload="doTest()"> | 
|  33     <p>Test HTMLMediaElement and MediaError constants.</p> |  33     <p>Test HTMLMediaElement and MediaError constants.</p> | 
|  34 </body> |  34 </body> | 
|  35 </html> |  35 </html> | 
| OLD | NEW |