[Webkit-unassigned] [Bug 69974] New: http/tests/media/video-play-stall.html closes the connection too soon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 16:05:38 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69974

           Summary: http/tests/media/video-play-stall.html closes the
                    connection too soon
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scherkus at chromium.org
                CC: eric.carlson at apple.com


I'm noticing that the test server is closing the connection sooner than the 3 second window for firing a stalled event.

Chromium interprets a preemptively closed connection as an error and we stop playback before getting to fire a stalled event.
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#dom-mediaerror-media_err_network

On Safari/QuickTime I noticed the following:

1st load/uncached: page stalls for a bit but then plays 3s of the video but in a loop but it doesn't fire ended events nor is loop attribute set

2nd+ load/cached: video never plays, calls to play() don't do anything but setting currentTime makes the video play in a loop again


Anyway, one way of working around the early connection close is to add a stallFor parameter to make the sure that we wait long enough, but I admit it does feel like we're sweeping the issue under the rug so I'm open to suggestions!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list