Files
sousa-gecko/docshell/test/mochitest
Emilio Cobos Álvarez 33c8ba167e Bug 2017786 - Fix some tests which make wrong assumptions about setTimeout scheduling. r=hsivonen
Some document.write() WPTs made the assumption that a setTimeout() in
the parent window will run after the load event in the child frame, and
there's no such guarantee per spec.

The focus fixup rule test similarly relied on the rendering not being
suppressed by the time the test run. Do that by awaiting an animation
frame, not just a timeout.

Differential Revision: https://phabricator.services.mozilla.com/D301259
2026-05-19 11:23:02 +00:00
..