[Webkit-unassigned] [Bug 28335] HTML5 media elements do not fire waiting events correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 02:11:37 PDT 2009


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





--- Comment #9 from Albert J. Wong <ajwong at chromium.org>  2009-08-18 02:11:36 PDT ---
(In reply to comment #7)
> This change really needs a new seeking test that tests a movie loaded via http.
> LayoutTests/http/tests/media/ has a cgi used that stalls loads which should be
> easy to modify to optionally load slowly.

For the QuickTime based media engine, I'm having a pretty hard time writing up
a test.

I modified video-load-and-stall.cgi to throttle serving, but the effect that
has is that we just end up with a largish unseekable range.

What happens is that since the seekable() range is defined maxTimeSeekable(),
which, empirically, seems to be equal to maxTimeLoaded(), it does not seem
possible to seek to a range where quicktime doesn't have the data cached, and
immediately available.  Seeking beyond what has been downloaded, like you said
earlier, makes the HTMLMediaElement throw a INDEX_SIZE_ERR exception.

As far as I can tell, we can't get into a HAVE_METADATA ready state with the
QuickTime media player via seeks, thus the seeking/waiting events are never
fired.

Am I missing some other method to test the behavior of these events?

-- 
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