<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>103256</bug_id>
          
          <creation_ts>2012-11-26 08:04:23 -0800</creation_ts>
          <short_desc>Calling addTextTrack(&quot;SUBTITLES&quot;) should throw a SYNTAX_ERR error</short_desc>
          <delta_ts>2012-12-04 02:34:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>103411</dup_id>
          
          <bug_file_loc>http://w3c-test.org/html/tests/submission/Opera/media/interfaces/HTMLElement/HTMLMediaElement/addTextTrack.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>775487</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2012-11-26 08:04:23 -0800</bug_when>
    <thetext>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 &quot;subtitles&quot; is an acceptable value, upper-case &quot;SUBTITLES&quot; is not and calling `.addTextTrack(&quot;SUBTITLES&quot;)` 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>776493</commentid>
    <comment_count>1</comment_count>
    <who name="Antoine Quint">ml</who>
    <bug_when>2012-11-27 01:52:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/12756197&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782410</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2012-12-04 02:34:08 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 103411 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>