Auto merge of #22005 - ferjm:media.timeline, r=ceyusa

Basic HTMLMediaElement seeking

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21998

This allows media seeking only when the server supports byte-range requests.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22005)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-26 11:17:56 -04:00 committed by GitHub
commit cb915d669a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 380 additions and 117 deletions

View file

@ -1,15 +0,0 @@
[currentTime.html]
type: testharness
expected: TIMEOUT
[currentTime initial value]
expected: FAIL
[setting currentTime with a media controller present]
expected: FAIL
[setting currentTime when readyState is HAVE_NOTHING]
expected: FAIL
[setting currentTime when readyState is greater than HAVE_NOTHING]
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[seek-to-currentTime.html]
type: testharness
expected: TIMEOUT
[seek to currentTime]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[seek-to-max-value.htm]
type: testharness
expected: TIMEOUT
[seek to Number.MAX_VALUE]
expected: TIMEOUT
expected: FAIL

View file

@ -1,6 +1,5 @@
[seek-to-negative-time.htm]
type: testharness
expected: TIMEOUT
[seek to negative time]
expected: TIMEOUT
expected: FAIL