| Index: LayoutTests/media/video-positive-start-time-seek-after-start-time.html
|
| diff --git a/LayoutTests/media/video-positive-start-time-seek-after-start-time.html b/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a7c2ec2ff1c7ca5b745fbe311d3a227c20ee092d
|
| --- /dev/null
|
| +++ b/LayoutTests/media/video-positive-start-time-seek-after-start-time.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<title>video with a postive start time and a seek after start time</title>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<div id="log"></div>
|
| +<video controls></video>
|
| +<script>
|
| +async_test(function(t) {
|
| + var video = document.querySelector('video');
|
| +
|
| + video.onloadeddata = t.step_func(function() {
|
| + assert_equals(video.currentTime, 5, 'currentTime');
|
| +
|
| + // FIXME: Once Chrome correctly exposes seekable ranges for media with
|
| + // positive start times, verify video.seekable.start(0) here.
|
| + t.done();
|
| + });
|
| +
|
| + video.src = 'resources/test-positive-start-time.webm#t=5';
|
| +});
|
| +</script>
|
|
|