Pass | onfinish event is fired when the currentTime < 0 and the playbackRate < 0 | Asserts runPass | assert_equals(0, 0, "event.currentTime should be zero")
at Test.<anonymous> ( /web-animations/interfaces/Animation/onfinish.html:22:5) | Pass | assert_approx_equals(0, 0, 0.001, "event.timelineTime should equal to the animation timeline when finished promise is resolved")
at window.assert_times_equal ( /web-animations/testcommon.js:14:5) |
|
Pass | onfinish event is fired when the currentTime > 0 and the playbackRate > 0 | Asserts runPass | assert_approx_equals(100000, 100000, 0.001, "event.currentTime should be the effect end")
at window.assert_times_equal ( /web-animations/testcommon.js:14:5) | Pass | assert_approx_equals(0, 0, 0.001, "event.timelineTime should equal to the animation timeline when finished promise is resolved")
at window.assert_times_equal ( /web-animations/testcommon.js:14:5) |
|
Pass | onfinish event is fired when animation.finish() is called | Asserts runPass | assert_approx_equals(100000, 100000, 0.001, "event.currentTime should be the effect end")
at window.assert_times_equal ( /web-animations/testcommon.js:14:5) | Pass | assert_approx_equals(0, 0, 0.001, "event.timelineTime should equal to the animation timeline when finished promise is resolved")
at window.assert_times_equal ( /web-animations/testcommon.js:14:5) |
|
Pass | onfinish event is not fired when paused | Asserts runNo asserts ran |
Pass | onfinish event is not fired when the playbackRate is zero | Asserts runNo asserts ran |
Pass | onfinish event is not fired when the animation falls out finished state immediately | Asserts runNo asserts ran |