OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test that accessing member of a non loaded video works.</title> | 3 <title>Test that accessing member of a non loaded video works.</title> |
| 4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 5 (Please avoid writing new tests using video-test.js) --> |
4 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
5 <script> | 7 <script> |
6 function test() | 8 function test() |
7 { | 9 { |
8 findMediaElement(); | 10 findMediaElement(); |
9 | 11 |
10 run("video.played"); | 12 run("video.played"); |
11 run("video.buffered"); | 13 run("video.buffered"); |
12 run("video.seekable"); | 14 run("video.seekable"); |
13 run("video.volume"); | 15 run("video.volume"); |
14 consoleWrite("SUCCESS"); | 16 consoleWrite("SUCCESS"); |
15 endTest(); | 17 endTest(); |
16 } | 18 } |
17 </script> | 19 </script> |
18 </head> | 20 </head> |
19 | 21 |
20 <body onload="test()"> | 22 <body onload="test()"> |
21 | 23 |
22 <video controls></video> | 24 <video controls></video> |
23 <p>Test that accessing member of a non loaded video works.</p> | 25 <p>Test that accessing member of a non loaded video works.</p> |
24 | 26 |
25 </body> | 27 </body> |
26 </html> | 28 </html> |
OLD | NEW |