Cancel a pending frame so its callback never runs.
Create the renderer one mount draws with; the mount disposes it when it ends.
Run callback once before the next repaint with the frame's time in milliseconds, and return a handle cancelFrame takes.
The size to draw at now: CSS pixels of the drawing area and the device pixel ratio.
What the inspector's scene mount takes from the page: a renderer, the animation-frame clock and the canvas size.
createAutoMovieInspectorCanvasHostgives the browser's: aWebGLRendereron the canvas,requestAnimationFrameand the canvas's layout size. A unit test gives recording doubles, so the mount's lifecycle runs without a browser.