Update web-platform-tests to revision 3cc9e82a7c1a53423097f3d581d4bfc185f56d18

This commit is contained in:
WPT Sync Bot 2020-08-08 08:21:32 +00:00
parent 589ab01be4
commit a3410e195f
133 changed files with 1534 additions and 5642 deletions

View file

@ -18,12 +18,14 @@
const setupAnimation = (t, animationStyle) => {
const div = addDiv(t, { style: 'animation: ' + animationStyle });
const animation = div.getAnimations()[0];
const timeoutPromise = armTimeoutWhenReady(animation, fastEventsTimeout);
const watcher = new EventWatcher(t, div, [ 'animationstart',
'animationiteration',
'animationend',
'animationcancel' ],
fastEventsTimeout);
const animation = div.getAnimations()[0];
timeoutPromise);
return { animation, watcher, div };
};