| Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html
|
| index 0b77443f2ca274c058952895c0ec8d5efe72c570..fc83e1e3590c97ae5f628128f98bf3af73ef7211 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html
|
| @@ -43,9 +43,9 @@
|
| // otherwise we don't have a resolved start time. We test the case
|
| // where the start time is unresolved in a subsequent test.
|
| return anim.ready.then(function() {
|
| - // Seek to 1ms before the target end and then wait 1ms
|
| + // Seek to 1ms before the target end and wait a frame (> 16ms)
|
| anim.currentTime = 100 * MS_PER_SEC - 1;
|
| - return waitForAnimationFramesWithDelay(1);
|
| + return waitForAnimationFrames(1);
|
| }).then(function() {
|
| assert_equals(anim.currentTime, 100 * MS_PER_SEC,
|
| 'Hold time is set to target end clamping current time');
|
| @@ -96,9 +96,9 @@
|
| anim.playbackRate = -1;
|
| anim.play(); // Make sure animation is not initially finished
|
| return anim.ready.then(function() {
|
| - // Seek to 1ms before 0 and then wait 1ms
|
| + // Seek to 1ms before 0 end and wait a frame (> 16ms)
|
| anim.currentTime = 1;
|
| - return waitForAnimationFramesWithDelay(1);
|
| + return waitForAnimationFrames(1);
|
| }).then(function() {
|
| assert_equals(anim.currentTime, 0 * MS_PER_SEC,
|
| 'Hold time is set to zero clamping current time');
|
|
|