Issue: window.requestAnimationFrame and window.cancelAnimationFrame still missing when pretendToBeVisual is…
Issue: window.requestAnimationFrame and window.cancelAnimationFrame still missing when pretendToBeVisual is…: a task in LegoFlow-SWE (Harbor dataset). Description When creating a jsdom JSDOM instance with { pretendToBeVisual: true } , the methods window.requestAnimationFrame and…
The task
**Description** When creating a jsdom JSDOM instance with `{ pretendToBeVisual: true }`, the methods `window.requestAnimationFrame` and `window.cancelAnimationFrame` are not defined. Any script that tries to call them gets a `TypeError: requestAnimationFrame is not defined`.
Part of Lego-X/LegoFlow-SWE.