Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-positive-start-time.html
blob413406b1b2d6b6d179cb86deb65fee9969e377b4
1 <!DOCTYPE html>
2 <title>video with a postive start time</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <div id="log"></div>
6 <video controls></video>
7 <script>
8 async_test(function(t) {
9 var video = document.querySelector('video');
11 video.onloadeddata = t.step_func(function() {
12 assert_equals(video.currentTime, 3, 'currentTime');
14 // FIXME: Once Chrome correctly exposes seekable ranges for media with
15 // positive start times, verify video.seekable.start(0) here.
16 t.done();
17 });
19 video.src = 'resources/test-positive-start-time.webm';
20 });
21 </script>