Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/web-animations/timing-model/animations/updating-the-finished-state.html

Issue 2408083002: Revert of Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');

Powered by Google App Engine
This is Rietveld 408576698