haikuwebkit/LayoutTests/media/track
Diego Pino Garcia 97910b5b93 [GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/track/video/video-track-mkv-theora-language.html are failing
https://bugs.webkit.org/show_bug.cgi?id=226864

Reviewed by Eric Carlson.

These tests were failing due to an apparently incorrect order of
languages in audio and video tracks.

Examining the video container with tools like mediasource or VLC shows
that the order expected by GStreamer ports is correct. To make these
tests pass I changed the tests to make them language order independent
by fetching audio or video tracks by id.

* media/in-band-tracks.js:
(canplaythrough):
(testAttribute): values' can be also an Object. In that case, fetch tracks by 'id'.
* media/track/audio/audio-track-mkv-vorbis-language-expected.txt: Updated.
* media/track/audio/audio-track-mkv-vorbis-language.html: Pass language expected results as a map indexed by track id.
* media/track/video/video-track-mkv-theora-language-expected.txt: Updated.
* media/track/video/video-track-mkv-theora-language.html: Pass language expected results as a map indexed by track id.


Canonical link: https://commits.webkit.org/238804@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-15 05:26:56 +00:00
..
audio [GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/track/video/video-track-mkv-theora-language.html are failing 2021-06-15 05:26:56 +00:00
captions-webvtt Remove non-inclusive language from layout tests 2020-12-21 23:50:35 +00:00
in-band [GStreamer] media/track/in-band/ layout tests introduced in r154908 are failing 2021-04-26 11:59:51 +00:00
opera N[LayoutTests] Delete unused LayoutTests/media resources 2021-06-11 23:35:33 +00:00
regions-webvtt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
texttrackcue Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
video [GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/track/video/video-track-mkv-theora-language.html are failing 2021-06-15 05:26:56 +00:00
w3c Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
add-and-remove-track-expected.txt
add-and-remove-track.html
audio-track-add-remove-expected.txt
audio-track-add-remove.html
audio-track-expected.txt
audio-track.html
getCueAsHTMLCrash-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
getCueAsHTMLCrash.html
media-element-enqueue-event-crash-expected.txt
media-element-enqueue-event-crash.html
text-track-cue-is-reachable-expected.txt
text-track-cue-is-reachable.html
text-track-is-reachable-expected.txt
text-track-is-reachable.html
text-track-src-change-expected.txt
text-track-src-change.html
texttrack-addCue-null-expected.txt
texttrack-addCue-null.html
track-active-cues-expected.txt
track-active-cues.html
track-add-remove-cue-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-add-remove-cue.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-add-track-expected.txt
track-add-track.html
track-addtrack-kind-expected.txt
track-addtrack-kind.html
track-automatic-subtitles-expected.txt
track-automatic-subtitles.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-bcp-language-expected.txt Changes to shared testing JS files should not cause test failures due to console message line numbers changing 2020-04-10 21:10:11 +00:00
track-bcp-language.html
track-change-event-expected.txt
track-change-event.html
track-constants-expected.txt
track-constants.html
track-css-visible-stroke-expected.html
track-css-visible-stroke.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-css-expected.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-css.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-empty-cue-text-expected.txt
track-cue-empty-cue-text.html
track-cue-empty-text-crash-expected.txt
track-cue-empty-text-crash.html
track-cue-inline-assertion-crash-expected.txt
track-cue-inline-assertion-crash.html
track-cue-left-align-expected-mismatch.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-left-align.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-line-position-expected-mismatch.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-line-position.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-missing-expected.txt REGRESSION(r260822): Apparently broke media/track/track-cue-missing.html on Mac 2020-04-30 12:25:39 +00:00
track-cue-missing.html REGRESSION(r260822): Apparently broke media/track/track-cue-missing.html on Mac 2020-04-30 12:25:39 +00:00
track-cue-mutable-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-cue-mutable-fragment-expected.txt
track-cue-mutable-fragment.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cue-mutable.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-cue-negative-timestamp-expected.txt
track-cue-negative-timestamp.html
track-cue-rendering-empty-cue-crash-expected.txt
track-cue-rendering-empty-cue-crash.html
track-cues-cuechange-expected.txt
track-cues-cuechange.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cues-enter-exit-expected.txt
track-cues-enter-exit.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-cues-missed-expected.txt
track-cues-missed.html
track-cues-pause-on-exit-expected.txt
track-cues-pause-on-exit.html
track-cues-seeking-expected.txt
track-cues-seeking.html
track-cues-sorted-before-dispatch-expected.txt AX: Audio and Video attachments are not output to VoiceOver 2013-11-06 14:15:42 +00:00
track-cues-sorted-before-dispatch.html
track-datacue-expected.txt
track-datacue-value-expected.txt
track-datacue-value.html
track-datacue.html
track-default-attribute-expected.txt
track-default-attribute.html
track-delete-during-setup-expected.txt
track-delete-during-setup.html
track-disabled-addcue-expected.txt
track-disabled-addcue.html
track-disabled-expected.txt
track-disabled.html
track-display-before-controls-crash-expected.txt
track-display-before-controls-crash.html
track-element-dom-change-crash-expected.txt
track-element-dom-change-crash.html
track-element-load-event-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
track-element-load-event.html
track-forced-subtitles-in-band-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-forced-subtitles-in-band.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-id-expected.txt
track-id.html
track-in-band-cues-added-once-expected.txt
track-in-band-cues-added-once.html
track-in-band-duplicate-tracks-when-source-changes-expected.txt
track-in-band-duplicate-tracks-when-source-changes.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-in-band-expected.txt
track-in-band-legacy-api-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-in-band-legacy-api.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-in-band-mode-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-in-band-mode.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-in-band.html
track-insert-after-load-crash-expected.txt
track-insert-after-load-crash.html
track-kind-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-kind.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-language-preference-expected.txt
track-language-preference.html
track-large-timestamp-expected.txt
track-large-timestamp.html
track-legacyapi-with-automatic-mode-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-legacyapi-with-automatic-mode.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-load-error-readyState-expected.txt media/track/track-load-error-readyState.html passes only when accompanied by some other tests 2020-04-28 14:17:17 +00:00
track-load-error-readyState.html media/track/track-load-error-readyState.html passes only when accompanied by some other tests 2020-04-28 14:17:17 +00:00
track-load-from-element-readyState-expected.txt
track-load-from-element-readyState.html
track-load-from-src-readyState-expected.txt
track-load-from-src-readyState.html
track-long-captions-file-expected.txt
track-long-captions-file.html
track-manual-mode-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-manual-mode.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-mode-disabled-crash-expected.txt
track-mode-disabled-crash.html
track-mode-expected.txt
track-mode-not-changed-by-new-track-expected.txt media/track/track-load-error-readyState.html passes only when accompanied by some other tests 2020-04-28 14:17:17 +00:00
track-mode-not-changed-by-new-track.html media/track/track-load-error-readyState.html passes only when accompanied by some other tests 2020-04-28 14:17:17 +00:00
track-mode-triggers-loading-expected.txt
track-mode-triggers-loading.html
track-mode.html
track-node-add-remove-expected.txt
track-node-add-remove.html
track-prefer-captions-expected.txt
track-prefer-captions.html
track-remove-active-cue-crash-expected.txt
track-remove-active-cue-crash.html
track-remove-by-setting-innerHTML-expected.txt
track-remove-by-setting-innerHTML.html
track-remove-crash-expected.txt
track-remove-crash.html
track-remove-quickly-expected.txt
track-remove-quickly.html
track-remove-track-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
track-remove-track.html
track-text-track-cue-list-expected.txt
track-text-track-cue-list.html
track-text-track-destructor-crash-expected.txt
track-text-track-destructor-crash.html
track-texttracks-expected.txt
track-texttracks.html
track-user-stylesheet-expected.txt Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-user-stylesheet.html Remove unused JS and CSS files of media controls 2021-03-22 22:17:49 +00:00
track-vttcue-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-vttcue.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc000-empty-expected.txt
track-webvtt-tc000-empty.html
track-webvtt-tc001-utf8-expected.txt
track-webvtt-tc001-utf8.html
track-webvtt-tc002-bom-expected.txt
track-webvtt-tc002-bom.html
track-webvtt-tc003-newlines-expected.txt
track-webvtt-tc003-newlines.html
track-webvtt-tc004-magic-header-expected.txt
track-webvtt-tc004-magic-header.html
track-webvtt-tc005-header-comment-expected.txt
track-webvtt-tc005-header-comment.html
track-webvtt-tc006-cue-identifiers-expected.txt
track-webvtt-tc006-cue-identifiers.html
track-webvtt-tc007-cue-no-id-expected.txt
track-webvtt-tc007-cue-no-id.html
track-webvtt-tc008-timings-no-hours-expected.txt
track-webvtt-tc008-timings-no-hours.html
track-webvtt-tc009-timings-hour-expected.txt
track-webvtt-tc009-timings-hour.html
track-webvtt-tc010-no-timings-expected.txt
track-webvtt-tc010-no-timings.html
track-webvtt-tc011-blank-lines-expected.txt
track-webvtt-tc011-blank-lines.html
track-webvtt-tc013-settings-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc013-settings.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc014-alignment-expected.txt
track-webvtt-tc014-alignment.html
track-webvtt-tc015-positioning-expected.txt
track-webvtt-tc015-positioning.html
track-webvtt-tc016-align-positioning-expected.txt
track-webvtt-tc016-align-positioning.html
track-webvtt-tc017-line-position-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc017-line-position.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc018-align-text-line-position-expected.txt Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc018-align-text-line-position.html Implement WebVTT VTTCue region attribute 2020-12-12 19:39:51 +00:00
track-webvtt-tc019-cue-size-expected.txt
track-webvtt-tc019-cue-size.html
track-webvtt-tc020-cue-size-align-expected.txt
track-webvtt-tc020-cue-size-align.html
track-webvtt-tc021-valign-expected.txt
track-webvtt-tc021-valign.html
track-webvtt-tc022-entities-expected.txt
track-webvtt-tc022-entities.html
track-webvtt-tc023-markup-expected.txt
track-webvtt-tc023-markup.html
track-webvtt-tc024-timestamp-expected.txt
track-webvtt-tc024-timestamp.html
track-webvtt-tc025-class-markup-expected.txt
track-webvtt-tc025-class-markup.html
track-webvtt-tc026-voice-expected.txt
track-webvtt-tc026-voice.html
track-webvtt-tc027-empty-cue-expected.txt
track-webvtt-tc027-empty-cue.html
track-webvtt-tc028-unsupported-markup-expected.txt
track-webvtt-tc028-unsupported-markup.html
track-webvtt-tc029-timings-whitespace-expected.txt
track-webvtt-tc029-timings-whitespace.html
track-webvtt-tc030-interspersed-non-cue-expected.txt
track-webvtt-tc030-interspersed-non-cue.html
track-webvtt-tc031-cue-recovery-expected.txt
track-webvtt-tc031-cue-recovery.html
track-webvtt-tc032-degenerate-cues-expected.txt
track-webvtt-tc032-degenerate-cues.html
tracklist-is-reachable-expected.txt
tracklist-is-reachable.html
video-track-add-remove-expected.txt
video-track-add-remove.html
video-track-addition-and-frame-removal-expected.txt
video-track-addition-and-frame-removal.html
video-track-alternate-groups-expected.txt
video-track-alternate-groups.html
video-track-expected.txt
video-track.html