The XRSession
method requestAnimationFrame(), much like the
Window method of the same name, schedules a callback to be executed the
next time the browser is ready to paint the session's virtual environment to the XR
display. The specified callback is executed once before the next repaint; i…