WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226864
[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
Summary
[GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/...
Diego Pino
Reported
2021-06-09 19:35:30 PDT
These tests are failing with the following output:
https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r278650%20%282224%29/media/track/audio/audio-track-mkv-vorbis-language-diff.txt
--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/track/audio/audio-track-mkv-vorbis-language-expected.txt +++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/track/audio/audio-track-mkv-vorbis-language-actual.txt @@ -5,8 +5,8 @@ ** Check in-band kind attributes EXPECTED (video.audioTracks.length == '2') OK -EXPECTED (video.audioTracks[0].language == 'la') OK -EXPECTED (video.audioTracks[1].language == 'en') OK +EXPECTED (video.audioTracks[0].language == 'la'), OBSERVED 'en' FAIL +EXPECTED (video.audioTracks[1].language == 'en'), OBSERVED 'la' FAIL END OF TEST
https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r278651%20%282225%29/media/track/video/video-track-mkv-theora-language-diff.txt
--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/track/video/video-track-mkv-theora-language-expected.txt +++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/track/video/video-track-mkv-theora-language-actual.txt @@ -5,8 +5,8 @@ ** Check in-band kind attributes EXPECTED (video.videoTracks.length == '2') OK -EXPECTED (video.videoTracks[0].language == 'ru') OK -EXPECTED (video.videoTracks[1].language == 'zh') OK +EXPECTED (video.videoTracks[0].language == 'ru'), OBSERVED 'zh' FAIL +EXPECTED (video.videoTracks[1].language == 'zh'), OBSERVED 'ru' FAIL END OF TEST
Attachments
Patch
(5.96 KB, patch)
2021-06-09 19:44 PDT
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Patch
(6.17 KB, patch)
2021-06-10 15:59 PDT
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Patch
(6.09 KB, patch)
2021-06-14 16:27 PDT
,
Diego Pino
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Diego Pino
Comment 1
2021-06-09 19:44:32 PDT
Created
attachment 431044
[details]
Patch
Eric Carlson
Comment 2
2021-06-10 08:23:53 PDT
Comment on
attachment 431044
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431044&action=review
> LayoutTests/ChangeLog:23 > + * platform/gtk/media/track/audio/audio-track-mkv-vorbis-language-expected.txt: Added. > + * platform/gtk/media/track/video/video-track-mkv-theora-language-expected.txt: Added.
It looks like you have fixed the tests globally, why not replace all existing expectations instead of adding new GTK-specific results?
Diego Pino
Comment 3
2021-06-10 15:43:34 PDT
(In reply to Eric Carlson from
comment #2
)
> Comment on
attachment 431044
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=431044&action=review
> > > LayoutTests/ChangeLog:23 > > + * platform/gtk/media/track/audio/audio-track-mkv-vorbis-language-expected.txt: Added. > > + * platform/gtk/media/track/video/video-track-mkv-theora-language-expected.txt: Added. > > It looks like you have fixed the tests globally, why not replace all > existing expectations instead of adding new GTK-specific results?
Agree. I will push a new patch.
Diego Pino
Comment 4
2021-06-10 15:59:28 PDT
Created
attachment 431152
[details]
Patch
Eric Carlson
Comment 5
2021-06-11 09:26:16 PDT
Comment on
attachment 431152
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431152&action=review
> LayoutTests/media/in-band-tracks.js:58 > + testExpected("video." + type +"Tracks.length", values.length); > + for (var i = 0; i < values.length; ++i) > + testExpected("video." + type +"Tracks[" + i + "]." + attribute, values[i]); > + } else { > + testExpected("video." + type +"Tracks.length", Object.keys(values).length); > + for (let id in values) { > + testExpected(`video.${type}Tracks.getTrackById('${id}').${attribute}`, values[id]);
Nit: it is a bit odd to use both template literals and string concatenation in this function.
Diego Pino
Comment 6
2021-06-14 16:27:08 PDT
Created
attachment 431382
[details]
Patch
EWS
Comment 7
2021-06-14 22:27:05 PDT
Committed
r278860
(
238804@main
): <
https://commits.webkit.org/238804@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431382
[details]
.
Radar WebKit Bug Importer
Comment 8
2021-06-14 22:28:15 PDT
<
rdar://problem/79324756
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug