Changeset 147926 in webkit


Ignore:
Timestamp:
Apr 8, 2013 10:23:37 AM (11 years ago)
Author:
Antoine Quint
Message:

Stop skipping first part of test in LayoutTests/media/track/opera/interfaces/TextTrack/cues.html
https://bugs.webkit.org/show_bug.cgi?id=104255

Updated test to match the one hosted by W3C which has corrected the reported error.

Reviewed by Eric Carlson.

  • media/track/opera/interfaces/TextTrack/cues-expected.txt:
  • media/track/opera/interfaces/TextTrack/cues.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r147914 r147926  
     12013-04-08  Antoine Quint  <graouts@apple.com>
     2
     3        Stop skipping first part of test in LayoutTests/media/track/opera/interfaces/TextTrack/cues.html
     4        https://bugs.webkit.org/show_bug.cgi?id=104255
     5
     6        Updated test to match the one hosted by W3C which has corrected the reported error.
     7
     8        Reviewed by Eric Carlson.
     9
     10        * media/track/opera/interfaces/TextTrack/cues-expected.txt:
     11        * media/track/opera/interfaces/TextTrack/cues.html:
     12
    1132013-04-08  Youenn Fablet  <youennf@gmail.com>
    214
  • trunk/LayoutTests/media/track/opera/interfaces/TextTrack/cues-expected.txt

    r136843 r147926  
    11
     2PASS TextTrack.cues, empty list
    23PASS TextTrack.cues, after addCue()
    34PASS TextTrack.cues, different modes
  • trunk/LayoutTests/media/track/opera/interfaces/TextTrack/cues.html

    r136843 r147926  
    1010    window.track = document.createElement('track');
    1111    track['default'] = true;
    12     video.appendChild(track);
     12    video.appendChild(track); // queues a task to "honor user preferences...", media element event task source
    1313    window.t2 = track.track;
    1414    window.t1_cues = t1.cues
    1515    window.t2_cues = t2.cues
    1616});
    17 // Skipping this test due to https://www.w3.org/Bugs/Public/show_bug.cgi?id=20066,
    18 // tracking uncommenting this when test is fixed with webkit.org/b/104255
    19 // test(function(){
    20 //     assert_equals(t1.cues, t1_cues, 't1.cues should return same object');
    21 //     assert_equals(t2.cues, t2_cues, 't2.cues should return same object');
    22 //     assert_not_equals(t1.cues, t2.cues, 't1.cues and t2.cues should be different objects');
    23 //     assert_not_equals(t1.cues, null, 't1.cues should not be null');
    24 //     assert_not_equals(t2.cues, null, 't2.cues should not be null');
    25 //     assert_equals(t1.cues.length, 0, 't1.cues should have length 0');
    26 //     assert_equals(t2.cues.length, 0, 't2.cues should have length 0');
    27 // }, document.title+', empty list');
     17test(function(){
     18    assert_equals(t1.cues, t1_cues, 't1.cues should return same object');
     19    assert_not_equals(t1.cues, null, 't1.cues should not be null');
     20    assert_equals(t1.cues.length, 0, 't1.cues should have length 0');
     21}, document.title+', empty list');
    2822test(function(){
    2923    var c = new TextTrackCue(0, 1, "text");
Note: See TracChangeset for help on using the changeset viewer.