This method doesn't directly throw exceptions; however, if the animation's
playState is anything but
"idle" when cancelled, the current finished promise is rejected with a
The definition of 'Animation.cancel()' in that specification.
|Working Draft||Editor's draft.|