Created attachment 221465 [details]
svg that triggers the bug.
Using document.documentElement.setCurrentTime() with a time value greater than the duration of the svg animation results in the animation is finished after the second repeat. This happens when the animation begin time is (syncbase) dependent on the end time of itself. Using repeatDur instead of self-dependency works fine.