script: Implement the HTMLTrackElement API

Implement the basics of the HTMLTrackElement and update the wpt tests.
This commit is contained in:
Dan Robertson 2019-01-07 23:21:30 +00:00
parent 121cbd0078
commit c4802076b3
No known key found for this signature in database
GPG key ID: 45C4A652C47E42A5
24 changed files with 152 additions and 382 deletions

View file

@ -6897,84 +6897,6 @@
[HTMLMediaElement interface: new Audio() must inherit property "videoTracks" with the proper type]
expected: FAIL
[HTMLTrackElement interface: attribute kind]
expected: FAIL
[HTMLTrackElement interface: attribute src]
expected: FAIL
[HTMLTrackElement interface: attribute srclang]
expected: FAIL
[HTMLTrackElement interface: attribute label]
expected: FAIL
[HTMLTrackElement interface: attribute default]
expected: FAIL
[HTMLTrackElement interface: constant NONE on interface object]
expected: FAIL
[HTMLTrackElement interface: constant NONE on interface prototype object]
expected: FAIL
[HTMLTrackElement interface: constant LOADING on interface object]
expected: FAIL
[HTMLTrackElement interface: constant LOADING on interface prototype object]
expected: FAIL
[HTMLTrackElement interface: constant LOADED on interface object]
expected: FAIL
[HTMLTrackElement interface: constant LOADED on interface prototype object]
expected: FAIL
[HTMLTrackElement interface: constant ERROR on interface object]
expected: FAIL
[HTMLTrackElement interface: constant ERROR on interface prototype object]
expected: FAIL
[HTMLTrackElement interface: attribute readyState]
expected: FAIL
[HTMLTrackElement interface: attribute track]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "kind" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "src" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "srclang" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "label" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "default" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "NONE" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "LOADING" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "LOADED" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "ERROR" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "readyState" with the proper type]
expected: FAIL
[HTMLTrackElement interface: document.createElement("track") must inherit property "track" with the proper type]
expected: FAIL
[HTMLMediaElement interface: attribute crossOrigin]
expected: FAIL
@ -9659,51 +9581,12 @@
[TextTrack interface: attribute activeCues]
expected: FAIL
[TextTrack must be primary interface of document.createElement("track").track]
expected: FAIL
[Stringification of document.createElement("track").track]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "kind" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "label" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "language" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "id" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "inBandMetadataTrackDispatchType" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "mode" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "cues" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "activeCues" with the proper type]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "addCue(TextTrackCue)" with the proper type]
expected: FAIL
[TextTrack interface: calling addCue(TextTrackCue) on document.createElement("track").track with too few arguments must throw TypeError]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "removeCue(TextTrackCue)" with the proper type]
expected: FAIL
[TextTrack interface: calling removeCue(TextTrackCue) on document.createElement("track").track with too few arguments must throw TypeError]
expected: FAIL
[TextTrack interface: document.createElement("track").track must inherit property "oncuechange" with the proper type]
expected: FAIL
[TimeRanges must be primary interface of document.createElement("video").buffered]
expected: FAIL