3 <script src=../../media-resources/media-file.js
></script>
4 <script src=../../media-resources/video-test.js
></script>
7 testRunner
.dumpAsTextWithPixelResults(); // To get pixels.
12 waitForEventAndEnd('ended');
13 waitForEvent('seeked', function() {
16 waitForEvent('loadedmetadata', function() {
17 video
.currentTime
= video
.duration
- 0.5;
20 var mediaFile
= findMediaFile("audio", "../../../media/content/test");
21 var type
= mimeTypeForExtension(mediaFile
.split('.').pop());
22 video
.src
= "http://127.0.0.1:8000/media/video-throttled-load.cgi?name=" + mediaFile
+ "&throttle=50&nph=1&type=" + type
;
27 <body onload=
"start()">
28 <video controls
></video>
29 <p>Test that the painted buffered range contains currentTime.
</p>