Bug 61817 - video-play-stall.cgi needs to pretend to support range requests
Summary: video-play-stall.cgi needs to pretend to support range requests
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 15:48 PDT by Steve Lacey
Modified: 2011-06-01 09:37 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Lacey 2011-05-31 15:48:44 PDT
http/tests/video-video-seekable-stall.html stalls the video download (by using video-play-stall.cgi and then requests a range via the 'seekable' attribute.

Unfortunately, as the script doesn't support range requests, chromium thinks that the media is streaming and can't provide a TimeRanges in response to the request. The spec kinda backs this up as not been needed (from http://www.w3.org/TR/html5/video.html#dom-media-seekable):

"If the user agent can seek to anywhere in the media resource, e.g. because it is a simple movie file and the user agent and the server support HTTP Range requests, then the attribute would return an object with one range, whose start is the time of the first frame (the earliest possible position, typically zero), and whose end is the same as the time of the first frame plus the duration attribute's value (which would equal the time of the last frame, and might be positive Infinity)."

Which seems to imply that the range should be returned if range requests are supported.
Comment 1 Steve Lacey 2011-06-01 09:37:19 PDT
video-seekable-stall has been deleted.