Rework/update SMIL event tests to better match spec
This is in preparation for fixing the behavior of SMIL events wrt to seeking. This also makes these tests pass in Gecko with a single exception. svg/animations/begin-event.svg, svg/animations/end-event.svg, svg/animations/repeat-event.svg, svg/animations/onbegin.svg, svg/animations/onend.svg and svg/animations/onrepeat.svg Adjust the seeked-to time so that the beginEvent/endEvent/repeatEvent is dispatched. Convert from reftests to testharness.js. svg/animations/repeatn-event-1a.svg, svg/animations/repeatn-event-1b.svg, svg/animations/repeatn-event-1c.svg, svg/animations/repeatn-event-1d.svg and svg/animations/repeatn-event-1e.svg 'repeatEvent's are not dispatched while seeking, so seek to just before the relevant repeat and then wait for the event. Convert from reftests to testharness.js. svg/animations/repeatn-event-2a.svg Switch to "stepping through" all the repeat points rather than to the end directly. Convert from reftest to testharness.js. wpt/svg/animations/repeatn-remove-add-animation.html Need to make sure that 'repeatEvent's are actually dispatched, so this test cannot use smil_async_test() which steps while paused. Bug: 1039886 Change-Id: I500f5005a29ed22a920dd3835f8070b52d4def7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2017527Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#735419}
Showing
Please register or sign in to comment