| Summary: | [GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/track/video/video-track-mkv-theora-language.html are failing | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> | ||||||||
| Component: | New Bugs | Assignee: | Diego Pino <dpino> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | calvaris, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, pnormand, sergio, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=134576 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Diego Pino
2021-06-09 19:35:30 PDT
Created attachment 431044 [details]
Patch
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? (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. Created attachment 431152 [details]
Patch
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. Created attachment 431382 [details]
Patch
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]. |