Files
tubestation/testing
Daniel Holbert f9f0d97416 Bug 1955626: Fix WPT scroll-start-overflow-toggled.tentative.html to properly await a requestAnimationFrame callback. r=emilio
The pattern that the test was using, "await requestAnimationFrame", does
nothing because requestAnimationFrame doesn't return a Promise that could
be awaited.

To actually use 'await' to allow a requestAnimationFrame tick to pass, you need
to add your own Promise that gets resolved in requestAnimationFrame's callback,
as amended in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D242551
2025-03-21 15:08:34 +00:00
..

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff