| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Test pausing then playing does not change the finished promise |
| 3 PASS Test restarting a finished animation |
| 4 PASS Test restarting a reversed finished animation |
| 5 PASS Test redundant finishing of animation |
| 6 PASS Finished promise does not resolve when paused |
| 7 PASS Finished promise does not resolve when pause-pending |
| 8 PASS The finished promise is fulfilled with its Animation |
| 9 PASS finished promise is rejected when an animation is cancelled by calling canc
el() |
| 10 PASS cancelling an already-finished animation replaces the finished promise |
| 11 FAIL cancelling an idle animation still replaces the finished promise assert_not
_equals: A redundant call to cancel() should still generate a new finished promi
se got disallowed value object "[object Promise]" |
| 12 FAIL Test finished promise changes for animation duration changes assert_false:
shortening of the animation duration should resolve the finished promise expecte
d false got true |
| 13 PASS Test finished promise changes when playbackRate == 0 |
| 14 PASS Test finished promise resolves when reaching to the natural boundary. |
| 15 PASS Test finished promise changes when a prior finished promise resolved and th
e animation falls out finished state |
| 16 PASS Test no new finished promise generated when finished state is checked async
hronously |
| 17 PASS Test new finished promise generated when finished state is checked synchron
ously |
| 18 PASS Test synchronous finished promise resolved even if finished state is change
d soon |
| 19 PASS Test synchronous finished promise resolved even if asynchronous finished pr
omise happens just before synchronous promise |
| 20 FAIL Test finished promise is not resolved when the animation falls out finished
state immediately assert_unreached: Animation.finished should not be resolved R
eached unreachable code |
| 21 FAIL Test finished promise is not resolved once the animation falls out finished
state even though the current finished promise is generated soon after animatio
n state became finished assert_unreached: Animation.finished should not be resol
ved Reached unreachable code |
| 22 Harness: the test ran to completion. |
| 23 |
| OLD | NEW |