De-flake some animation tests
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2018 03:28:56 +0000 (03:28 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2018 03:28:56 +0000 (03:28 +0000)
commitda4d3e3a500fc9ef677fce724076709223fe2923
tree6f3d093b9465dc96d39973da7094c5cc102cd4a7
parenta58639bcb7fe6331672d65b3c235900fa1eab97b
De-flake some animation tests
https://bugs.webkit.org/show_bug.cgi?id=188356

Reviewed by Dean Jackson.

The tests in legacy-animation-engine were flakey because the animation can start before
we get a chance to register the event listener. Fix by starting the animation after the
load event fires. Make the non-legacy tests match.

* compositing/visible-rect/animated-from-none.html:
* compositing/visible-rect/animated.html:
* legacy-animation-engine/compositing/visible-rect/animated-from-none.html:
* legacy-animation-engine/compositing/visible-rect/animated.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/compositing/visible-rect/animated-from-none.html
LayoutTests/compositing/visible-rect/animated.html
LayoutTests/legacy-animation-engine/compositing/visible-rect/animated-from-none.html
LayoutTests/legacy-animation-engine/compositing/visible-rect/animated.html