[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 14:30:33 PDT 2009


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


Albert J. Wong <ajwong at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35076|                            |review?
               Flag|                            |




--- Comment #11 from Albert J. Wong <ajwong at chromium.org>  2009-08-18 14:30:31 PDT ---
Created an attachment (id=35076)
 --> (https://bugs.webkit.org/attachment.cgi?id=35076)
waiting/seeking fix...Now with a test\!

the seeked event is missed due when the ready state is changed during
a seek.

Patch by Albert J. Wong <ajwong at chromium.org> on 2009-08-18
Reviewed by NOBODY (OOPS!).

HTML5 media elements do not fire waiting events correctly
https://bugs.webkit.org/show_bug.cgi?id=28335

Added video-waiting-seeking.html into manual tests because not
all platforms allow seeking into non-buffered ranges.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setReadyState): add support for
waiting event when seeking.
(WebCore::HTMLMediaElement::finishSeek): send seeked event
whenever seeking finishes.
(WebCore::HTMLMediaElement::mediaPlayerTimeChanged): dispatch to
new function.
* html/HTMLMediaElement.h:
* manual-tests/video-waiting-seeking.html: Added.

LayoutTests: New manual test to check if waiting/seeking events are fired
when seeking into a non-buffered region.

Patch by Albert J. Wong <ajwong at chromium.org> on 2009-08-18
Reviewed by NOBODY (OOPS!).

HTML5 media elements do not fire waiting events correctly
https://bugs.webkit.org/show_bug.cgi?id=28335

* http/tests/media/video-throttled-load.cgi: Added.
* media/video-test.js:
(isInTimeRanges):
---
 2 files changed, 66 insertions(+), 0 deletions(-)

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