Chrome sometimes passes a timestamp into the requestAnimationFrame ("rAF") callback that is before the time rAF is called. How is that possible?
My test case: I first get a timestamp t0 using performance.now(), then request an animation frame, and finally compare the timestamp t1 passed to the callback to t0: https://jsfiddle.net/cy45gdan/3/
How does it make sense for t1 to happen before t0? Is Chrome calling my callback for an ongoing frame and passes the time that frame started?
Firefox and Safari seem to only pass timestamps into the rAF callbacks that are after the time rAF is called.