[web-animations] Missed condition for DOMException

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

--
Regards,
Sergey G. Grekhov

Received on Monday, 27 October 2014 05:58:57 UTC