[webkit-help] Changes to progress events?

Adam Roben aroben at apple.com
Wed Dec 2 07:19:55 PST 2009


On Dec 2, 2009, at 5:43 AM, Sjoerd Tieleman wrote:

> I am building an experimental HTML5 video player and I was relying on ProgressEvents to determine how much of the video had been loaded and display a progress indicator. It seems that in recent builds of Webkit these events are no longer ProgressEvents, but rather generic Events with type "progress". They no longer contain the "loaded" and "total" attributes. Is this an intentional change?
> Current versions of Safari fire "ProgressEvents", but the latest Webkit nightlies fire "Events".

Yes, this is intentional, and reflects a change in the HTML5 specification. See <https://bugs.webkit.org/show_bug.cgi?id=30513> for details.

-Adam



More information about the webkit-help mailing list