[Webkit-unassigned] [Bug 166661] New: It should not be possible to set track language for in-band media

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 3 13:51:12 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166661

            Bug ID: 166661
           Summary: It should not be possible to set track language for
                    in-band media
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilander at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170103/43e023e8/attachment.html>


More information about the webkit-unassigned mailing list