Files
firefox/testing/web-platform/tests/css/cssom-view
Emilio Cobos Álvarez bd0a1596fa Bug 1602978 [wpt PR 20712] - [cssom-view] Make matchMedia tests not racy., a=testonly
Automatic update from web-platform-tests
[cssom-view] Make matchMedia tests not racy.

PRs #18390 #19841 introduced a bunch of new tests. I saw some of them being
filed as flaky in Gecko and this is why.

Random timeout is not a good way to wait for events being reported. Instead,
wait for to RAF callbacks, as that guarantees that "Update the rendering steps"
runs at least once.

--

wpt-commits: f67dffb715254be99a853822752cd6bdf8325cf2
wpt-pr: 20712
2019-12-16 17:41:27 +00:00
..
…