diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html')
-rw-r--r-- | tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html b/tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html index 9a4da2e7c2f..f04ec1a904b 100644 --- a/tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html +++ b/tests/wpt/web-platform-tests/web-animations/timing-model/animations/pausing-an-animation.html @@ -2,7 +2,7 @@ <meta charset=utf-8> <title>Pausing an animation</title> <link rel="help" - href="https://w3c.github.io/web-animations/#finishing-an-animation-section"> + href="https://drafts.csswg.org/web-animations/#pausing-an-animation-section"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="../../testcommon.js"></script> @@ -11,14 +11,14 @@ <script> 'use strict'; -promise_test(function(t) { +promise_test(t => { const animation = createDiv(t).animate(null, 100 * MS_PER_SEC); const promise = animation.ready; animation.pause(); return promise.then(p => { assert_equals(p, animation); assert_equals(animation.ready, promise); - assert_equals(animation.playState, 'paused'); + assert_false(animation.pending, 'No longer pause-pending'); }); }, 'A pending ready promise should be resolved and not replaced when the' + ' animation is paused'); |