const SPURIOUS_ANIMATION_FRAME_THRESHOLD: u8 = 5;
Expand description

The number of times we are allowed to see spurious requestAnimationFrame() calls before falling back to fake ones.

A spurious requestAnimationFrame() call is defined as one that does not change the DOM.