Auto merge of #22049 - ferjm:timeranges, r=jdm

Implement TimeRanges interface

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Spec: https://html.spec.whatwg.org/multipage/media.html#time-ranges

<!-- 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/22049)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-31 13:37:05 -04:00 committed by GitHub
commit 8350c5e1ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 281 additions and 28 deletions

View file

@ -10034,33 +10034,6 @@
[TextTrackCue interface: attribute onexit]
expected: FAIL
[TimeRanges interface: existence and properties of interface object]
expected: FAIL
[TimeRanges interface object length]
expected: FAIL
[TimeRanges interface object name]
expected: FAIL
[TimeRanges interface: existence and properties of interface prototype object]
expected: FAIL
[TimeRanges interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[TimeRanges interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[TimeRanges interface: attribute length]
expected: FAIL
[TimeRanges interface: operation start(unsigned long)]
expected: FAIL
[TimeRanges interface: operation end(unsigned long)]
expected: FAIL
[TimeRanges must be primary interface of document.createElement("video").buffered]
expected: FAIL