Pass | pause() a running animation | Asserts runPass | assert_true(true, "currentTime is initially increasing")
at /web-animations/interfaces/Animation/pause.html:19:5 | Pass | assert_equals(16.69999999999994, 16.69999999999994, "currentTime does not increase after calling pause()")
at /web-animations/interfaces/Animation/pause.html:27:5 |
|
Pass | pause() from idle | Asserts runPass | assert_equals(0, 0, "currentTime is set to 0")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:40:3) | Pass | assert_equals(null, null, "startTime is not set")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:41:3) | Pass | assert_equals("paused", "paused", "in paused play state")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:42:3) | Pass | assert_true(true, "initially pause-pending")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:43:3) | Pass | assert_false(false, "no longer pending")
at /web-animations/interfaces/Animation/pause.html:47:5 | Pass | assert_equals(0, 0, "keeps the initially set currentTime")
at /web-animations/interfaces/Animation/pause.html:48:5 |
|
Pass | pause() from idle with a negative playbackRate | Asserts runPass | assert_equals(1000000, 1000000, "currentTime is set to the effect end")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:60:3) | Pass | assert_equals(1000000, 1000000, "keeps the initially set currentTime")
at /web-animations/interfaces/Animation/pause.html:64:5 |
|
Pass | pause() from idle with a negative playbackRate and endless effect | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => { animation.pause(); }", "Expect InvalidStateError exception on calling pause() from idle with a negative playbackRate and infinite-duration animation")
at Test.<anonymous> ( /web-animations/interfaces/Animation/pause.html:76:3) |
|
Pass | pause() on a finished animation | Asserts runPass | assert_equals(1000000, 1000000, "currentTime after pausing finished animation")
at /web-animations/interfaces/Animation/pause.html:92:7 |
|