Changeset 53612 in webkit


Ignore:
Timestamp:
Jan 21, 2010 12:37:34 AM (14 years ago)
Author:
Philippe Normand
Message:

2010-01-20 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Carlson.

[Gtk] media/video-currentTime-set.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=33897

Refactored the test to use the "seeked" event.

  • media/video-currentTime-set-expected.txt:
  • media/video-currentTime-set.html:
  • platform/gtk/Skipped:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r53608 r53612  
     12010-01-20  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Eric Carlson.
     4
     5        [Gtk] media/video-currentTime-set.html is flaky
     6        https://bugs.webkit.org/show_bug.cgi?id=33897
     7
     8        Refactored the test to use the "seeked" event.
     9
     10        * media/video-currentTime-set-expected.txt:
     11        * media/video-currentTime-set.html:
     12        * platform/gtk/Skipped:
     13
    1142010-01-21  Kent Tamura  <tkent@chromium.org>
    215
  • trunk/LayoutTests/media/video-currentTime-set-expected.txt

    r50063 r53612  
    44EXPECTED (video.currentTime == '0') OK
    55RUN(video.currentTime = video.duration - 0.2)
     6EVENT(seeked)
    67EXPECTED (video.currentTime.toFixed(2) == '5.83') OK
    78RUN(video.play())
  • trunk/LayoutTests/media/video-currentTime-set.html

    r50420 r53612  
    1515        testExpected("video.currentTime", 0);
    1616        run("video.currentTime = video.duration - 0.2");
     17    });
     18
     19    waitForEvent('seeked',
     20    function () {
    1721        testExpected("video.currentTime.toFixed(2)", (video.duration - 0.2).toFixed(2));
    1822        run("video.play()");
     
    2125        var timeout = 2000;
    2226        setTimeout(function () { logResult(false, "No 'ended' event in " + timeout/1000  + " seconds"); }, timeout);
     27
    2328    });
     29
    2430    video.src = findMediaFile("video", "content/test");
    2531    </script>
  • trunk/LayoutTests/platform/gtk/Skipped

    r53599 r53612  
    55675567
    55685568# Media tests that keep failing on the bot
    5569 media/video-currentTime-set.html
    55705569media/video-play-pause-events.html
    55715570
Note: See TracChangeset for help on using the changeset viewer.