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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20273</bug_id>
          
          <creation_ts>2012-12-06 13:40:39 +0000</creation_ts>
          <short_desc>Test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/cues.html is faulty (Part 2)</short_desc>
          <delta_ts>2012-12-06 16:18:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>testsuite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79554</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2012-12-06 13:40:39 +0000</bug_when>
    <thetext>This bug is in reference to the test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/cues.html. I think the error is on line 65:

    t1.cues[1].startTime = 0.5; // this should change it back

I think the wrong index is being changed here, it should now be the cue at in 0 since we&apos;d just changed the order of the cues on line 62. I believe this would be the correct test:

test(function(){
    t1.mode = &apos;showing&apos;;
    t1.cues[1].startTime = 0; // this should change the text track cue order
    assert_equals(t1.cues[0].id, &apos;id2&apos;);
    assert_equals(t1.cues[1].id, &apos;id&apos;);
    t1.cues[0].startTime = 0.5; // this should change it back
    assert_equals(t1.cues[0].id, &apos;id&apos;);
    assert_equals(t1.cues[1].id, &apos;id2&apos;);
}, document.title+&apos;, changing order&apos;);

Note that another issue was reported for the same test at I&apos;ve also filed a bug on the same test but for a different issue at https://www.w3.org/Bugs/Public/show_bug.cgi?id=20066.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79555</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-12-06 13:48:57 +0000</bug_when>
    <thetext>I agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79562</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-12-06 16:18:21 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/html/rev/07a18e815c7b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>