OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS Test pausing then playing does not change the finished promise | 2 PASS Test pausing then playing does not change the finished promise |
3 PASS Test restarting a finished animation | 3 PASS Test restarting a finished animation |
4 PASS Test restarting a reversed finished animation | 4 PASS Test restarting a reversed finished animation |
5 PASS Test redundant finishing of animation | 5 PASS Test redundant finishing of animation |
6 PASS Finished promise does not resolve when paused | 6 PASS Finished promise does not resolve when paused |
7 PASS Finished promise does not resolve when pause-pending | 7 PASS Finished promise does not resolve when pause-pending |
8 PASS The finished promise is fulfilled with its Animation | 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() | 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 | 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]" | 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 | 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 | 13 PASS Test finished promise changes when playbackRate == 0 |
14 PASS Test finished promise resolves when reaching to the natural boundary. | 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 | 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 | 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 | 17 PASS Test new finished promise generated when finished state is checked synchron
ously |
18 FAIL Test synchronous finished promise resolved even if finished state is change
d soon assert_true: Animation.finished should be resolved even if the finished s
tate is changed soon expected true got false | 18 PASS Test synchronous finished promise resolved even if finished state is change
d soon |
19 FAIL Test synchronous finished promise resolved even if asynchronous finished pr
omise happens just before synchronous promise assert_true: Animation.finished sh
ould be resolved soon after finish() is called even if there are other asynchron
ous promises just before it expected true got false | 19 PASS Test synchronous finished promise resolved even if asynchronous finished pr
omise happens just before synchronous promise |
20 PASS Test finished promise is not resolved when the animation falls out finished
state immediately | 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 | 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 PASS Finished promise should be resolved after the ready promise is resolved | 22 PASS Finished promise should be resolved after the ready promise is resolved |
23 PASS Finished promise should be rejected after the ready promise is rejected | 23 PASS Finished promise should be rejected after the ready promise is rejected |
24 Harness: the test ran to completion. | 24 Harness: the test ran to completion. |
25 | 25 |
OLD | NEW |