In order to deliver displayDidRefresh for WorkerThread requestAnimationFrame, we want a version of displayDidRefresh/DisplayRefreshMonitor that allows notifications without blocking on the main thread. We also likely want to match whatever framerate/throttling the underlying WebCore::Page is using, so that we slow down when hidden etc. DisplayRefreshMonitor is heavily hardcoded towards using the main thread, so I think the easiest thing to do is add an API to EventDispatcher which handles this.
<rdar://problem/109804872>
Pull request: https://github.com/WebKit/WebKit/pull/14318