Changeset 86151 in webkit


Ignore:
Timestamp:
May 10, 2011 7:39:43 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-10 Steve Lacey <sjl@chromium.org>

Reviewed by Eric Carlson.

Fix video-play-stall-before-metadata.

A stalled event won't be sent until no progress has happened for 3
seconds. Make sure that the connection is still open for at least that long.
https://bugs.webkit.org/show_bug.cgi?id=60306

  • http/tests/media/video-load-and-stall.cgi:
  • http/tests/media/video-play-stall-before-meta-data.html:
  • platform/chromium/test_expectations.txt:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86150 r86151  
     12011-05-10  Steve Lacey  <sjl@chromium.org>
     2
     3        Reviewed by Eric Carlson.
     4
     5        Fix video-play-stall-before-metadata.
     6
     7        A stalled event won't be sent until no progress has happened for 3
     8        seconds. Make sure that the connection is still open for at least that long.
     9        https://bugs.webkit.org/show_bug.cgi?id=60306
     10
     11        * http/tests/media/video-load-and-stall.cgi:
     12        * http/tests/media/video-play-stall-before-meta-data.html:
     13        * platform/chromium/test_expectations.txt:
     14
    1152011-05-10  Csaba Osztrogonác  <ossy@webkit.org>
    216
  • trunk/LayoutTests/http/tests/media/video-load-and-stall.cgi

    r83210 r86151  
    77$name = $query->param('name');
    88$stallAt = $query->param('stallAt');
     9$stallFor = $query->param('stallFor');
    910$mimeType = $query->param('mimeType');
    1011
     
    2021    $total += $n;
    2122    if ($total > $stallAt) {
     23        if (defined $stallFor) {
     24            sleep($stallFor)
     25        }
    2226        last;
    2327    }
  • trunk/LayoutTests/http/tests/media/video-play-stall-before-meta-data.html

    r83210 r86151  
    2222
    2323    // Load should stall very early in the loading process.
    24     video.src = "http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/" + mediaFile + "&mimeType=" + mimeType + "&stallAt=1";
     24    video.src = "http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/" + mediaFile + "&mimeType=" + mimeType + "&stallAt=1&stallFor=4";
    2525
    2626</script>
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r86134 r86151  
    31803180// are failing after roll 80582 -> 80608
    31813181BUG_LOISLO MAC DEBUG : fast/text/font-size-zero.html = TEXT
    3182 
    3183 // Failure from WebKit r81104
    3184 BUGCR76159 MAC LINUX : http/tests/media/video-play-stall-before-meta-data.html = TEXT
    31853182
    31863183BUGCR76253 : plugins/npruntime/np-deallocate-called-before-np-shutdown.html = CRASH
Note: See TracChangeset for help on using the changeset viewer.