diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html')
-rw-r--r-- | tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html b/tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html index ca6dc6eec0c..1c40a3fb211 100644 --- a/tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html +++ b/tests/wpt/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html @@ -2,21 +2,21 @@ <meta charset=utf-8> <title>AnimationPlaybackEvent constructor</title> <link rel="help" - href="https://w3c.github.io/web-animations/#dom-animationplaybackevent-animationplaybackevent"> + href="https://drafts.csswg.org/web-animations/#dom-animationplaybackevent-animationplaybackevent"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id="log"></div> <script> 'use strict'; -test(function(t) { +test(t => { const evt = new AnimationPlaybackEvent('finish'); assert_equals(evt.type, 'finish'); assert_equals(evt.currentTime, null); assert_equals(evt.timelineTime, null); }, 'Event created without an event parameter has null time values'); -test(function(t) { +test(t => { const evt = new AnimationPlaybackEvent('cancel', { currentTime: -100, |