Imported from Microsoft's tests for animation timing

https://dvcs.w3.org/hg/webperf/file/d0e188717986/tests/submission/Microsoft/requestAnimationFrame