Implement basic media resource selection and fetching.

This commit is contained in:
Josh Matthews
2015-11-06 22:43:11 -06:00
parent 5918954edd
commit eae27adc4a
107 changed files with 1722 additions and 9 deletions

View File

@@ -0,0 +1,21 @@
[activeCues.html]
type: testharness
expected: ERROR
[TextTrack.activeCues, empty list]
expected: FAIL
[TextTrack.activeCues, after addCue()]
expected: FAIL
[TextTrack.activeCues, different modes]
expected: FAIL
[TextTrack.activeCues, video loading]
expected: FAIL
[TextTrack.activeCues, video playing]
expected: TIMEOUT
[TextTrack.activeCues, adding cue during playback]
expected: TIMEOUT

View File

@@ -0,0 +1,17 @@
[addCue.html]
type: testharness
[TextTrack.addCue(), adding a cue to two different tracks]
expected: FAIL
[TextTrack.addCue(), adding a cue to a track twice]
expected: FAIL
[TextTrack.addCue(), adding a removed cue to a different track]
expected: FAIL
[TextTrack.addCue(), adding an associated but removed cue to the same track]
expected: FAIL
[TextTrack.addCue(), adding a cue associated with a track element to other track]
expected: FAIL

View File

@@ -0,0 +1,6 @@
[constants.html]
type: testharness
expected: ERROR
[TextTrack constants]
expected: FAIL

View File

@@ -0,0 +1,17 @@
[cues.html]
type: testharness
[TextTrack.cues, empty list]
expected: FAIL
[TextTrack.cues, after addCue()]
expected: FAIL
[TextTrack.cues, different modes]
expected: FAIL
[TextTrack.cues, changing order]
expected: FAIL
[TextTrack.cues, default attribute]
expected: FAIL

View File

@@ -0,0 +1,11 @@
[kind.html]
type: testharness
[TextTrack.kind, addTextTrack]
expected: FAIL
[TextTrack.kind, track element]
expected: FAIL
[TextTrack.kind, \\u0000]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[label.html]
type: testharness
expected: ERROR
[TextTrack.label]
expected: FAIL
[TextTrack.label, \\u0000]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[language.html]
type: testharness
expected: ERROR
[TextTrack.language]
expected: FAIL
[TextTrack.language, \\u0000]
expected: FAIL

View File

@@ -0,0 +1,8 @@
[mode.html]
type: testharness
[TextTrack.mode, wrong value]
expected: FAIL
[TextTrack.mode, correct value]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[oncuechange.html]
type: testharness
expected: ERROR
[TextTrack.oncuechange]
expected: FAIL
[TextTrack.addEventListener/removeEventListener]
expected: FAIL

View File

@@ -0,0 +1,8 @@
[removeCue.html]
type: testharness
[TextTrack.removeCue(), two elementless tracks]
expected: FAIL
[TextTrack.removeCue(), cue from track element]
expected: FAIL