As part of https://bugs.webkit.org/show_bug.cgi?id=179236, we are integrating with DisplayLinkRefreshMonitor to run the DocumentTimeline. However, ScriptedAnimationController implements much of what we need to do, throttling and fallback to a timer if DisplayLinkRefreshMonitor is unavailable are two facilities we need for DocumentTimeline. We should refactor ScriptedAnimationController into a more general purpose animation supporting object and make both rAF and DocumentTimeline integrate with it.
Updating the web animation will be done in the order specified by <https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering>. *** This bug has been marked as a duplicate of bug 177484 ***