This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20273 - Test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/cues.html is faulty (Part 2)
Summary: Test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/Text...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 13:40 UTC by Antoine Quint
Modified: 2012-12-06 16:18 UTC (History)
3 users (show)

See Also:


Attachments

Description Antoine Quint 2012-12-06 13:40:39 UTC
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'd just changed the order of the cues on line 62. I believe this would be the correct test:

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

Note that another issue was reported for the same test at I'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.
Comment 1 Simon Pieters 2012-12-06 13:48:57 UTC
I agree.
Comment 2 Simon Pieters 2012-12-06 16:18:21 UTC
http://dvcs.w3.org/hg/html/rev/07a18e815c7b