NEW 166661
It should not be possible to set track language for in-band media
https://bugs.webkit.org/show_bug.cgi?id=166661
Summary It should not be possible to set track language for in-band media
John Wilander
Reported 2017-01-03 13:51:12 PST
TrackBase::setLanguage() currently allows any track element to set language. The setter should first check that the track is not in-band, for instance through a convenience function in HTMLMediaElement. This change should get rid of the ENABLE(MEDIA_SOURCE) in JSTextTrack::setLanguage() (see JSTextTrackCustom.cpp). Possibly even get rid of the custom setter all together, see [CustomSetter] attribute DOMString language in TextTrack.idl. This change will correct the expected test results from https://bugs.webkit.org/show_bug.cgi?id=123926.
Attachments
Note You need to log in before you can comment on or make changes to this bug.