| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2     <head> |   2     <head> | 
|   3         <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   3         <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   4              (Please avoid writing new tests using video-test.js) --> |   4              (Please avoid writing new tests using video-test.js) --> | 
|   5         <script src=video-test.js></script> |   5         <script src=video-test.js></script> | 
|   6         <script> |   6         <script> | 
|   7             function setPreload(value, expected) |   7             function setPreload(value, expected) | 
|   8             { |   8             { | 
|   9                 consoleWrite("- set via DOM"); |   9                 consoleWrite("- set via DOM"); | 
|  10                 run("video.removeAttribute('preload')"); |  10                 run("video.removeAttribute('preload')"); | 
|  11                 run("video.preload = '" + value + "'"); |  11                 run("video.preload = '" + value + "'"); | 
|  12                 testExpected("video.getAttribute('preload')", expected); |  12                 testExpected("video.getAttribute('preload')", expected); | 
|  13                 testExpected("video.preload", expected); |  13                 testExpected("video.preload", expected); | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  59                 endTest(); |  59                 endTest(); | 
|  60             } |  60             } | 
|  61         </script> |  61         </script> | 
|  62  |  62  | 
|  63     </head> |  63     </head> | 
|  64  |  64  | 
|  65     <body onload="test()"> |  65     <body onload="test()"> | 
|  66         <video controls></video> |  66         <video controls></video> | 
|  67     </body> |  67     </body> | 
|  68 </html> |  68 </html> | 
| OLD | NEW |