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 | 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> | 7 <script> |
8 function test() | 8 function test() |
9 { | 9 { |
10 findMediaElement(); | 10 findMediaElement(); |
11 | 11 |
12 run("video.played"); | 12 run("video.played"); |
13 run("video.buffered"); | 13 run("video.buffered"); |
14 run("video.seekable"); | 14 run("video.seekable"); |
15 run("video.volume"); | 15 run("video.volume"); |
16 consoleWrite("SUCCESS"); | 16 consoleWrite("SUCCESS"); |
17 endTest(); | 17 endTest(); |
18 } | 18 } |
19 </script> | 19 </script> |
20 </head> | 20 </head> |
21 | 21 |
22 <body onload="test()"> | 22 <body onload="test()"> |
23 | 23 |
24 <video controls></video> | 24 <video controls></video> |
25 <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> |
26 | 26 |
27 </body> | 27 </body> |
28 </html> | 28 </html> |
OLD | NEW |