⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 211302 in webkit


Ignore:
Timestamp:
Jan 27, 2017, 2:23:32 PM (10 years ago)
Author:
jer.noble@apple.com
Message:

media/track/track-in-band-style.html is flaky
​https://bugs.webkit.org/show_bug.cgi?id=167516

Reviewed by Eric Carlson.

Update the test to use 'cuechange' rather than a 200ms timer.

  • media/track/track-in-band-style-expected.txt:
  • media/track/track-in-band-style.html:
  • platform/mac/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r211293 r211302  
     12017-01-27  Jer Noble  <jer.noble@apple.com>
     2
     3        media/track/track-in-band-style.html is flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=167516
     5
     6        Reviewed by Eric Carlson.
     7
     8        Update the test to use 'cuechange' rather than a 200ms timer.
     9
     10        * media/track/track-in-band-style-expected.txt:
     11        * media/track/track-in-band-style.html:
     12        * platform/mac/TestExpectations:
     13
    1142017-01-27  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/LayoutTests/media/track/track-in-band-style-expected.txt

    r179377 r211302  
    1111EVENT(change)
    1212RUN(video.play())
    13 EVENT(seeked)
     13EVENT(cuechange)
    1414
    1515** Test current cue colors
  • trunk/LayoutTests/media/track/track-in-band-style.html

    r179377 r211302  
    3535                {
    3636                    run("video.play()");
    37                     setTimeout(function() { video.pause(); video.currentTime = 0.3; }, 1000);
    38                     waitForEvent('seeked', function() { setTimeout(testCues, 200) });
     37                    setTimeout(function() {
     38                        video.pause();
     39                        video.currentTime = 0.3;
     40                        waitForEventOn(inbandTrack1, 'cuechange', testCues);
     41                    }, 1000);
    3942                }
    4043   
  • trunk/LayoutTests/platform/mac/TestExpectations

    r211284 r211302  
    13421342[ Sierra+ ] fast/canvas/canvas-imageSmoothingEnabled-repaint.html [ Pass Failure ]
    13431343
    1344 # <rdar://problem/23601055>
    1345 [ Sierra+ ] media/track/track-in-band-style.html [ Pass Failure ]
    1346 
    13471344# Sierra supports true font feature coverage queries. We use the -coverage versions of these tests instead.
    13481345[ Sierra+ ] css3/font-variant-small-caps-synthesis.html [ ImageOnlyFailure ]
Note: See TracChangeset for help on using the changeset viewer.