W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2012

[Bug 20273] New: Test at http://w3c-test.org/html/tests/submission/Opera/media/interfaces/TextTrack/cues.html is faulty (Part 2)

From: <bugzilla@jessica.w3.org>
Date: Thu, 06 Dec 2012 13:40:39 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-20273-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20273

            Bug ID: 20273
           Summary: Test at
                    http://w3c-test.org/html/tests/submission/Opera/media/
                    interfaces/TextTrack/cues.html is faulty (Part 2)
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: dave.null@w3.org
          Reporter: graouts@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 6 December 2012 13:40:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 6 December 2012 13:40:46 GMT