Re: [web-animations] Missed condition for DOMException

On 2014/10/27 14:56, "Сергей Грехов" wrote:
> Hi,
>
> According the spec AnimationPleer.finish()
> (http://w3c.github.io/web-animations/#dom-animationplayer-finish) raises
> DOMException "...if the end time of this player’s source content is
> infinity and the player playback rate is > zero". But according finish
> player procedure (http://w3c.github.io/web-animations/#finish-a-player)
> InvalidStateError should also be thrown if playback rate is zero. Need to
> add this condition in the Exceptions part of AnimationPlayer.finish()
> description

Fixed:

 
https://github.com/w3c/web-animations/commit/72bfaad4815e9e3ce7ee702366421afd9dffb9bf

Thanks!

Brian

Received on Monday, 27 October 2014 06:43:03 UTC