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,29 @@
[addTextTrack.html]
type: testharness
[HTMLMediaElement.addTextTrack subtitles first arg]
expected: FAIL
[HTMLMediaElement.addTextTrack captions first arg]
expected: FAIL
[HTMLMediaElement.addTextTrack descriptions first arg]
expected: FAIL
[HTMLMediaElement.addTextTrack chapters first arg]
expected: FAIL
[HTMLMediaElement.addTextTrack metadata first arg]
expected: FAIL
[HTMLMediaElement.addTextTrack undefined second and third arg]
expected: FAIL
[HTMLMediaElement.addTextTrack null second and third arg]
expected: FAIL
[HTMLMediaElement.addTextTrack foo and bar second and third arg]
expected: FAIL
[HTMLMediaElement.addTextTrack foo second arg, third arg omitted]
expected: FAIL

View File

@@ -0,0 +1,5 @@
[textTracks.html]
type: testharness
[HTMLMediaElement.textTracks]
expected: FAIL

View File

@@ -0,0 +1,23 @@
[default.html]
type: testharness
[HTMLTrackElement.default missing value]
expected: FAIL
[HTMLTrackElement.default empty string content attribute]
expected: FAIL
[HTMLTrackElement.default empty string IDL attribute]
expected: FAIL
[HTMLTrackElement.default foo in content attribute]
expected: FAIL
[HTMLTrackElement.default foo in IDL attribute]
expected: FAIL
[HTMLTrackElement.default true in IDL attribute]
expected: FAIL
[HTMLTrackElement.default false in IDL attribute]
expected: FAIL

View File

@@ -0,0 +1,62 @@
[kind.html]
type: testharness
[HTMLTrackElement.kind missing value]
expected: FAIL
[HTMLTrackElement.kind invalid value in content attribute]
expected: FAIL
[HTMLTrackElement.kind content attribute uppercase]
expected: FAIL
[HTMLTrackElement.kind content attribute with uppercase turkish I (with dot)]
expected: FAIL
[HTMLTrackElement.kind content attribute with lowercase turkish i (dotless)]
expected: FAIL
[HTMLTrackElement.kind content attribute "subtitles"]
expected: FAIL
[HTMLTrackElement.kind content attribute "captions"]
expected: FAIL
[HTMLTrackElement.kind content attribute "descriptions"]
expected: FAIL
[HTMLTrackElement.kind content attribute "chapters"]
expected: FAIL
[HTMLTrackElement.kind content attribute "metadata"]
expected: FAIL
[HTMLTrackElement.kind content attribute "captions\\u0000"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "subtitles"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "captions"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "descriptions"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "chapters"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "metadata"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute to "CAPTIONS"]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute with uppercase turkish I (with dot)]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute with lowercase turkish I (dotless)]
expected: FAIL
[HTMLTrackElement.kind setting IDL attribute with \\u0000]
expected: FAIL

View File

@@ -0,0 +1,35 @@
[label.html]
type: testharness
[HTMLTrackElement.label missing value]
expected: FAIL
[HTMLTrackElement.label empty string content attribute]
expected: FAIL
[HTMLTrackElement.label empty string IDL attribute]
expected: FAIL
[HTMLTrackElement.label lowercase content attribute]
expected: FAIL
[HTMLTrackElement.label uppercase content attribute]
expected: FAIL
[HTMLTrackElement.label\\u0000 in content attribute]
expected: FAIL
[HTMLTrackElement.label lowercase IDL attribute]
expected: FAIL
[HTMLTrackElement.label uppercase IDL attribute]
expected: FAIL
[HTMLTrackElement.label whitespace in content attribute]
expected: FAIL
[HTMLTrackElement.label whitespace in IDL attribute]
expected: FAIL
[HTMLTrackElement.label \\u0000 in IDL attribute]
expected: FAIL

View File

@@ -0,0 +1,5 @@
[readyState.html]
type: testharness
[HTMLTrackElement.readyState default value]
expected: FAIL

View File

@@ -0,0 +1,28 @@
[src.html]
type: testharness
[HTMLTrackElement.src missing value]
expected: FAIL
[HTMLTrackElement.src empty string in content attribute]
expected: FAIL
[HTMLTrackElement.src empty string in IDL attribute]
expected: FAIL
[HTMLTrackElement.src unresolvable value in content attribute]
expected: FAIL
[HTMLTrackElement.src assigning unresolvable value to IDL attribute]
expected: FAIL
[HTMLTrackElement.src assigning resolvable value to IDL attribute]
expected: FAIL
[HTMLTrackElement.src assigning \\u0000 to IDL attribute]
expected: FAIL
[HTMLTrackElement.src \\u0000 in content attribute]
expected: FAIL
[HTMLTrackElement.src resolvable value in content attribute]
expected: FAIL

View File

@@ -0,0 +1,35 @@
[srclang.html]
type: testharness
[HTMLTrackElement.srclang missing value]
expected: FAIL
[HTMLTrackElement.srclang empty string content attribute]
expected: FAIL
[HTMLTrackElement.srclang empty string IDL attribute]
expected: FAIL
[HTMLTrackElement.srclang lowercase content attribute]
expected: FAIL
[HTMLTrackElement.srclang uppercase content attribute]
expected: FAIL
[HTMLTrackElement.srclang \\u0000 content attribute]
expected: FAIL
[HTMLTrackElement.srclang lowercase IDL attribute]
expected: FAIL
[HTMLTrackElement.srclang uppercase IDL attribute]
expected: FAIL
[HTMLTrackElement.srclang whitespace in content attribute]
expected: FAIL
[HTMLTrackElement.srclang whitespace in IDL attribute]
expected: FAIL
[HTMLTrackElement.srclang \\u0000 in IDL attribute]
expected: FAIL

View File

@@ -0,0 +1,5 @@
[track.html]
type: testharness
[HTMLTrackElement.track]
expected: FAIL

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

View File

@@ -0,0 +1,9 @@
[endTime.html]
type: testharness
expected: ERROR
[TextTrackCue.endTime, script-created cue]
expected: FAIL
[TextTrackCue.endTime, parsed cue]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[id.html]
type: testharness
expected: ERROR
[TextTrackCue.id, script-created cue]
expected: FAIL
[TextTrackCue.id, parsed cue]
expected: FAIL

View File

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

View File

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

View File

@@ -0,0 +1,9 @@
[pauseOnExit.html]
type: testharness
expected: ERROR
[TextTrackCue.pauseOnExit, script-created cue]
expected: FAIL
[TextTrackCue.pauseOnExit, parsed cue]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[startTime.html]
type: testharness
expected: ERROR
[TextTrackCue.startTime, script-created cue]
expected: FAIL
[TextTrackCue.startTime, parsed cue]
expected: FAIL

View File

@@ -0,0 +1,9 @@
[track.html]
type: testharness
expected: ERROR
[TextTrackCue.track, script-created cue]
expected: FAIL
[TextTrackCue.track, parsed cue]
expected: FAIL

View File

@@ -0,0 +1,14 @@
[getCueById.html]
type: testharness
[TextTrackCueList.getCueById, no id]
expected: FAIL
[TextTrackCueList.getCueById, id foo]
expected: FAIL
[TextTrackCueList.getCueById, no 1]
expected: FAIL
[TextTrackCueList.getCueById, id a\\u0000b]
expected: FAIL

View File

@@ -0,0 +1,12 @@
[getter.html]
type: testharness
expected: ERROR
[TextTrackCueList getter]
expected: FAIL
[TextTrackCueList getter, no indexed set/create]
expected: FAIL
[TextTrackCueList getter, no indexed set/create (strict)]
expected: FAIL

View File

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

View File

@@ -0,0 +1,5 @@
[getTrackById.html]
type: testharness
[TextTrackList.getTrackById]
expected: FAIL

View File

@@ -0,0 +1,12 @@
[getter.html]
type: testharness
expected: ERROR
[TextTrackList getter]
expected: FAIL
[TextTrackList getter, no indexed set/create]
expected: FAIL
[TextTrackList getter, no indexed set/create (strict)]
expected: FAIL

View File

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

View File

@@ -0,0 +1,8 @@
[onaddtrack.html]
type: testharness
[TextTrackList.onaddtrack]
expected: FAIL
[TextTrackList.addEventListener/removeEventListener]
expected: FAIL

View File

@@ -0,0 +1,8 @@
[onremovetrack.html]
type: testharness
[TextTrackList.onremovetrack]
expected: FAIL
[TextTrackList.addEventListener/removeEventListener]
expected: FAIL

View File

@@ -0,0 +1,8 @@
[constructor.html]
type: testharness
[TrackEvent constructor, one arg]
expected: FAIL
[TrackEvent constructor, two args]
expected: FAIL

View File

@@ -0,0 +1,5 @@
[createEvent.html]
type: testharness
[TrackEvent created with createEvent]
expected: FAIL