Rewrite wpt/svg/animations/slider-switch.html to use 'begin' as trigger
The interval timer could end up racing with the animation update timer, meaning that the new animation values had not yet been applied when the |retries| counter reached zero and the assertions were made. Refactor the test to trigger the next "action" (new pair of clicks or checking the result) when one of the timed elements listening on the "b.click" event has begun. Also change |retries| into counting how many clicks are remaining (rather than how many interval timer firings). Bug: 1013736 Change-Id: I374cb9c499ca18a791f76dabcb1db8bcd6f38461 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1859955Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#705574}
Showing
Please register or sign in to comment