[Webkit-unassigned] [Bug 103256] New: Calling addTextTrack("SUBTITLES") should throw a SYNTAX_ERR error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 26 08:02:12 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103256
Summary: Calling addTextTrack("SUBTITLES") should throw a
SYNTAX_ERR error
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://w3c-test.org/html/tests/submission/Opera/media/
interfaces/HTMLElement/HTMLMediaElement/addTextTrack.h
tml
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: graouts at apple.com
CC: webkit-bug-importer at group.apple.com
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list