Text track menu items with both 'label' and 'srclang' attributes are not correct.
Created attachment 195311 [details] Proposed patch
<rdar://problem/13515337>
Comment on attachment 195311 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=195311&action=review r+, with nit: > Source/WebCore/page/CaptionUserPreferencesMac.mm:541 > + if (language.isEmpty() || label.contains(language)) { > + displayName.append(label); > + } else { Unnecessary braces.
https://trac.webkit.org/r147000