OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test behavior when seeking to the duration and the playback rate
equals 0.</title> | 4 <title>Test behavior when seeking to the duration and the playback rate
equals 0.</title> |
5 <script src="media-file.js"></script> | 5 <script src="media-file.js"></script> |
| 6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 7 (Please avoid writing new tests using video-test.js) --> |
6 <script src="video-test.js"></script> | 8 <script src="video-test.js"></script> |
7 | 9 |
8 <script> | 10 <script> |
9 function onLoad() | 11 function onLoad() |
10 { | 12 { |
11 findMediaElement(); | 13 findMediaElement(); |
12 video.src = findMediaFile("video", "content/test"); | 14 video.src = findMediaFile("video", "content/test"); |
13 video.load(); | 15 video.load(); |
14 waitForEvent("seeking"); | 16 waitForEvent("seeking"); |
15 | 17 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 testExpected("video.currentTime", 0); | 51 testExpected("video.currentTime", 0); |
50 endTest(); | 52 endTest(); |
51 } | 53 } |
52 } | 54 } |
53 </script> | 55 </script> |
54 </head> | 56 </head> |
55 <body onload="onLoad()"> | 57 <body onload="onLoad()"> |
56 <video id="v" preload="metadata"></video> | 58 <video id="v" preload="metadata"></video> |
57 </body> | 59 </body> |
58 </html> | 60 </html> |
OLD | NEW |