Files
firefox/testing/web-platform/tests/intersection-observer/resources
Ali Juma 95115d90fd Bug 1489671 [wpt PR 12901] - Loosen timing expectation in IntersectionObserver WPTs, a=testonly
Automatic update from web-platform-testsLoosen timing expectation in IntersectionObserver WPTs

IntersectionObserver WPTs expect that intersection observations are
delivered within two step_timeouts of requestAnimationFrame. This
expectation holds in Blink, but doesn't necessarily hold in other engines.
In WebKit, requestAnimationFrame and layout are separate tasks, so it's
possible for the first step_timeout to fire in between rAF and layout,
leading to test flakiness. This CL switches these WPTs to using
double-rAF rather than rAF-setTimeout-setTimeout when waiting for
observations to be delivered.

Change-Id: Iad80943db184bc4519ab323c3bd7cfac1256e175
Reviewed-on: https://chromium-review.googlesource.com/1214176
Commit-Queue: Ali Juma <[email protected]>
Reviewed-by: Stefan Zager <[email protected]>
Cr-Commit-Position: refs/heads/master@{#590195}

--

wpt-commits: 2dce278555acc0b91ca98d2ee9ce8219c91f4e98
wpt-pr: 12901
2018-09-13 02:51:55 +00:00
..