This is a testharness.js-based test.
PASS Test exceptions when finishing non-running animation
PASS Test exceptions when finishing infinite animation
PASS Test finishing of animation
PASS Test finishing of animation with a current time past the effect end
PASS Test finishing of reversed animation
PASS Test finishing of reversed animation with a current time less than zero
PASS Test finish() while paused
PASS Test finish() while pause-pending with positive playbackRate
PASS Test finish() while pause-pending with negative playbackRate
PASS Test finish() while play-pending
PASS Test finish() during aborted pause
PASS Test resetting of computed style
PASS Test finish() resolves finished promise synchronously
PASS Test finish() resolves finished promise synchronously with an animation without a target
FAIL Test normally finished animation resolves finished promise synchronously with an animation without a target assert_true: Animation.finished should be resolved soon after Animation finishes normally expected true got false
Harness: the test ran to completion.

