[whatwg] HAVE_ENOUGH_DATA firing the "play" event unconditionally?
Ian Hickson
ian at hixie.ch
Sun Feb 22 01:28:38 PST 2009
On Mon, 5 Jan 2009, Robert O'Callahan wrote:
>
> The spec says:
>
> If the new ready state is HAVE_ENOUGH_DATA The user agent must queue a
> task to fire a simple event called canplay,
>
>
> Should it only fire "canplay" if the previous ready state was
> HAVE_CURRENT_DATA or less? Otherwise, going from HAVE_CURRENT_DATA to
> HAVE_FUTURE_DATA to HAVE_ENOUGH_DATA would fire "canplay" twice.
Fixed.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list