subtitle tracks with no srclang show up as " (label)" instead of just "label"#42852
Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom Mar 24, 2025
Merged
subtitle tracks with no srclang show up as " (label)" instead of just "label"#42852webkit-commit-queue merged 1 commit intoWebKit:mainfrom
srclang show up as " (label)" instead of just "label"#42852webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 6c2893c) Details |
Collaborator
|
EWS run on previous version of this PR (hash bbf8888) Details |
Collaborator
|
EWS run on previous version of this PR (hash 7ccc05c) Details |
Collaborator
|
EWS run on previous version of this PR (hash 9025bbe) Details |
eric-carlson
approved these changes
Mar 23, 2025
Collaborator
|
EWS run on current version of this PR (hash e2f136d) Details |
…st "label" https://bugs.webkit.org/show_bug.cgi?id=290226 Reviewed by Eric Carlson. * Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp: (WebCore::trackDisplayName): Only use the localized format string if both parts are valid. * Source/WebCore/page/CaptionUserPreferences.cpp: (WebCore::trackDisplayName): Strip any leading/trailing whitespace from the `label` before deciding whether to use it. * LayoutTests/media/modern-media-controls/tracks-support/sorted-by-user-preferred-languages.html: * LayoutTests/media/modern-media-controls/tracks-support/sorted-by-user-preferred-languages-expected.txt: Canonical link: https://commits.webkit.org/292577@main
e2f136d to
83905fa
Compare
Collaborator
|
Committed 292577@main (83905fa): https://commits.webkit.org/292577@main Reviewed commits have been landed. Closing PR #42852 and removing active labels. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 gtk-wk2
🧪 api-gtk
83905fa
e2f136d