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 is faulty (Part 2)
Summary: Test at
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
Depends on:
Reported: 2012-12-06 13:40 UTC by Antoine Quint
Modified: 2012-12-06 16:18 UTC (History)
3 users (show)

See Also:


Description Antoine Quint 2012-12-06 13:40:39 UTC
This bug is in reference to the test at 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:

    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
Comment 1 Simon Pieters 2012-12-06 13:48:57 UTC
I agree.
Comment 2 Simon Pieters 2012-12-06 16:18:21 UTC