-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #22477 - ferjm:media_time_marches_on_step_6, r=<try>
Implement step 6 of media `time marches on` algorithm. Improves stability of media WPTs - [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 This should help with the WPTs problems observed in #22348 (comment) Unfortunately, GStreamer does not seem to be very reliable with Ogg (check https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/520) and most of the media-element WPTs uses a short ogv file, so I had to make our `canPlayType` report that it is not able to play this type to make the tests pick the alternative mp4 version of the same files. Once Ogg support for GStreamer improves, we should be able to revert this change. <!-- 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/22477) <!-- Reviewable:end -->
- Loading branch information
Showing
189 changed files
with
822 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
tests/wpt/metadata/html/semantics/embedded-content/media-elements/audio_loop_base.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[audio_loop_base.html] | ||
type: testharness | ||
disabled: extreme timeout | ||
expected: TIMEOUT | ||
[Check if audio.loop is set to true that expecting the seeking event is fired more than once] | ||
expected: FAIL | ||
expected: NOTRUN | ||
|
8 changes: 0 additions & 8 deletions
8
...s/wpt/metadata/html/semantics/embedded-content/media-elements/audio_volume_check.html.ini
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...tadata/html/semantics/embedded-content/media-elements/autoplay-with-broken-track.html.ini
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/wpt/metadata/html/semantics/embedded-content/media-elements/event_timeupdate.html.ini
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...adata/html/semantics/embedded-content/media-elements/event_timeupdate_noautoplay.html.ini
This file was deleted.
Oops, something went wrong.
15 changes: 4 additions & 11 deletions
15
...s/wpt/metadata/html/semantics/embedded-content/media-elements/event_volumechange.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,20 @@ | ||
[event_volumechange.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[setting audio.volume fires volumechange] | ||
expected: PASS | ||
|
||
[setting audio.muted fires volumechange] | ||
expected: FAIL | ||
|
||
[setting audio.volume/muted to the same value does not fire volumechange] | ||
[setting video.volume/muted repeatedly fires volumechange repeatedly] | ||
expected: TIMEOUT | ||
|
||
[setting audio.volume/muted repeatedly fires volumechange repeatedly] | ||
[setting audio.volume/muted to the same value does not fire volumechange] | ||
expected: TIMEOUT | ||
|
||
[setting video.volume fires volumechange] | ||
expected: PASS | ||
|
||
[setting video.muted fires volumechange] | ||
expected: FAIL | ||
|
||
[setting video.volume/muted to the same value does not fire volumechange] | ||
[setting audio.volume/muted repeatedly fires volumechange repeatedly] | ||
expected: TIMEOUT | ||
|
||
[setting video.volume/muted repeatedly fires volumechange repeatedly] | ||
[setting video.volume/muted to the same value does not fire volumechange] | ||
expected: TIMEOUT | ||
|
16 changes: 8 additions & 8 deletions
16
...edded-content/media-elements/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
[crossOrigin.html] | ||
[HTMLMediaElement.crossOrigin] | ||
[HTMLMediaElement.crossOrigin, setting to invalid value] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, content attribute missing] | ||
[HTMLMediaElement.crossOrigin, content attribute use-credentials] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, content attribute invalid value] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, content attribute empty string] | ||
[HTMLMediaElement.crossOrigin, setting to uppercase ANONYMOUS] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, content attribute uppercase ANONYMOUS] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, content attribute use-credentials] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, setting to empty string] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, setting to invalid value] | ||
[HTMLMediaElement.crossOrigin, content attribute empty string] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, setting to uppercase ANONYMOUS] | ||
[HTMLMediaElement.crossOrigin, content attribute missing] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin, setting to use-credentials] | ||
expected: FAIL | ||
|
||
[HTMLMediaElement.crossOrigin] | ||
expected: FAIL | ||
|
9 changes: 4 additions & 5 deletions
9
...adata/html/semantics/embedded-content/media-elements/interfaces/TextTrack/addCue.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
[addCue.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[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 cue associated with a track element to other track] | ||
expected: TIMEOUT | ||
|
||
[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: TIMEOUT | ||
[TextTrack.addCue(), adding a cue to a track twice] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...etadata/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[cues.html] | ||
type: testharness | ||
[TextTrack.cues, after addCue()] | ||
expected: FAIL | ||
|
||
[TextTrack.cues, different modes] | ||
expected: FAIL | ||
|
||
[TextTrack.cues, changing order] | ||
[TextTrack.cues, default attribute] | ||
expected: FAIL | ||
|
||
[TextTrack.cues, default attribute] | ||
[TextTrack.cues, changing order] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...etadata/html/semantics/embedded-content/media-elements/interfaces/TextTrack/kind.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[kind.html] | ||
type: testharness | ||
[TextTrack.kind, track element] | ||
[TextTrack.kind, \\u0000] | ||
expected: FAIL | ||
|
||
[TextTrack.kind, \\u0000] | ||
[TextTrack.kind, track element] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...tadata/html/semantics/embedded-content/media-elements/interfaces/TextTrack/label.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[label.html] | ||
type: testharness | ||
[TextTrack.label] | ||
[TextTrack.label, \\u0000] | ||
expected: FAIL | ||
|
||
[TextTrack.label, \\u0000] | ||
[TextTrack.label] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...ata/html/semantics/embedded-content/media-elements/interfaces/TextTrack/language.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[language.html] | ||
type: testharness | ||
[TextTrack.language] | ||
[TextTrack.language, \\u0000] | ||
expected: FAIL | ||
|
||
[TextTrack.language, \\u0000] | ||
[TextTrack.language] | ||
expected: FAIL | ||
|
1 change: 0 additions & 1 deletion
1
.../html/semantics/embedded-content/media-elements/interfaces/TextTrack/oncuechange.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[oncuechange.html] | ||
type: testharness | ||
[TextTrack.oncuechange] | ||
expected: FAIL | ||
|
7 changes: 3 additions & 4 deletions
7
...ta/html/semantics/embedded-content/media-elements/interfaces/TextTrack/removeCue.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[removeCue.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrack.removeCue(), two elementless tracks] | ||
expected: FAIL | ||
|
||
[TextTrack.removeCue(), cue from track element] | ||
expected: TIMEOUT | ||
|
||
[TextTrack.removeCue(), two elementless tracks] | ||
expected: FAIL | ||
|
1 change: 0 additions & 1 deletion
1
...a/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/endTime.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[endTime.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrackCue.endTime, script-created cue] | ||
expected: FAIL | ||
|
1 change: 0 additions & 1 deletion
1
...tadata/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/id.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[id.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrackCue.id, script-created cue] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...a/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/onenter.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[onenter.html] | ||
type: testharness | ||
expected: ERROR | ||
[TextTrackCue.onenter] | ||
[TextTrackCue.addEventListener/removeEventListener] | ||
expected: FAIL | ||
|
||
[TextTrackCue.addEventListener/removeEventListener] | ||
[TextTrackCue.onenter] | ||
expected: FAIL | ||
|
5 changes: 2 additions & 3 deletions
5
...ta/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/onexit.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[onexit.html] | ||
type: testharness | ||
expected: ERROR | ||
[TextTrackCue.onexit] | ||
[TextTrackCue.addEventListener/removeEventListener] | ||
expected: FAIL | ||
|
||
[TextTrackCue.addEventListener/removeEventListener] | ||
[TextTrackCue.onexit] | ||
expected: FAIL | ||
|
7 changes: 3 additions & 4 deletions
7
...ml/semantics/embedded-content/media-elements/interfaces/TextTrackCue/pauseOnExit.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[pauseOnExit.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrackCue.pauseOnExit, script-created cue] | ||
expected: FAIL | ||
|
||
[TextTrackCue.pauseOnExit, parsed cue] | ||
expected: TIMEOUT | ||
|
||
[TextTrackCue.pauseOnExit, script-created cue] | ||
expected: FAIL | ||
|
7 changes: 3 additions & 4 deletions
7
...html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/startTime.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
[startTime.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrackCue.startTime, script-created cue] | ||
expected: FAIL | ||
|
||
[TextTrackCue.startTime, parsed cue] | ||
expected: TIMEOUT | ||
|
||
[TextTrackCue.startTime, script-created cue] | ||
expected: FAIL | ||
|
1 change: 0 additions & 1 deletion
1
...ata/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/track.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[track.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[TextTrackCue.track, script-created cue] | ||
expected: FAIL | ||
|
7 changes: 3 additions & 4 deletions
7
...semantics/embedded-content/media-elements/interfaces/TextTrackCueList/getCueById.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[getCueById.html] | ||
type: testharness | ||
[TextTrackCueList.getCueById, no id] | ||
[TextTrackCueList.getCueById, id a\\u0000b] | ||
expected: FAIL | ||
|
||
[TextTrackCueList.getCueById, id foo] | ||
expected: FAIL | ||
|
||
[TextTrackCueList.getCueById, no 1] | ||
[TextTrackCueList.getCueById, no id] | ||
expected: FAIL | ||
|
||
[TextTrackCueList.getCueById, id a\\u0000b] | ||
[TextTrackCueList.getCueById, no 1] | ||
expected: FAIL | ||
|
7 changes: 3 additions & 4 deletions
7
...tml/semantics/embedded-content/media-elements/interfaces/TextTrackCueList/getter.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
[getter.html] | ||
type: testharness | ||
[TextTrackCueList getter] | ||
[TextTrackCueList getter, no indexed set/create (strict)] | ||
expected: FAIL | ||
|
||
[TextTrackCueList getter, no indexed set/create] | ||
[TextTrackCueList getter] | ||
expected: FAIL | ||
|
||
[TextTrackCueList getter, no indexed set/create (strict)] | ||
[TextTrackCueList getter, no indexed set/create] | ||
expected: FAIL | ||
|
Oops, something went wrong.