RESOLVED DUPLICATE of bug 103411 103256
Calling addTextTrack("SUBTITLES") should throw a SYNTAX_ERR error
https://bugs.webkit.org/show_bug.cgi?id=103256
Summary Calling addTextTrack("SUBTITLES") should throw a SYNTAX_ERR error
Antoine Quint
Reported 2012-11-26 08:04:23 PST
The HTML5 spec is clear about the supported values for the the `kind` parameter of the `addTextTrack` method (see http://www.whatwg.org/specs/web-apps/current-work/#dom-media-addtexttrack). While lower-case "subtitles" is an acceptable value, upper-case "SUBTITLES" is not and calling `.addTextTrack("SUBTITLES")` should throw a SYNTAX_ERR error. The test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/HTMLElement/HTMLMediaElement/addTextTrack.html fails due to this.
Attachments
Antoine Quint
Comment 1 2012-11-27 01:52:19 PST
Antoine Quint
Comment 2 2012-12-04 02:34:08 PST
*** This bug has been marked as a duplicate of bug 103411 ***
Note You need to log in before you can comment on or make changes to this bug.