|
36 | 36 | // Wait for new animation frame which allows the timeline to compute new |
37 | 37 | // current time. |
38 | 38 | await waitForNextFrame(); |
| 39 | + await waitForNextFrame(); |
39 | 40 | assert_equals(animation.timeline.currentTime, null, |
40 | 41 | 'Sanity check the timeline is inactive.'); |
41 | 42 | // Play the animation when the timeline is inactive. |
|
62 | 63 | // Wait for new animation frame which allows the timeline to compute new |
63 | 64 | // current time. |
64 | 65 | await waitForNextFrame(); |
| 66 | + await waitForNextFrame(); |
65 | 67 | assert_equals(animation.timeline.currentTime, null, |
66 | 68 | 'Sanity check the timeline is inactive.'); |
67 | 69 | // Play the animation when the timeline is inactive. |
|
91 | 93 | // Wait for new animation frame which allows the timeline to compute new |
92 | 94 | // current time. |
93 | 95 | await waitForNextFrame(); |
| 96 | + await waitForNextFrame(); |
94 | 97 | assert_equals(animation.timeline.currentTime, null, |
95 | 98 | 'Sanity check the timeline is inactive.'); |
96 | 99 | // Set start time when the timeline is inactive. |
|
138 | 141 | scroller.style.overflow = 'visible'; |
139 | 142 | scroller.scrollTop; |
140 | 143 | await waitForNextFrame(); |
| 144 | + await waitForNextFrame(); |
141 | 145 | assert_equals(animation.timeline.currentTime, null, |
142 | 146 | 'Sanity check the timeline is inactive.'); |
143 | 147 | assert_equals(animation.playState, 'running', |
|
0 commit comments