[wpt-sync] Sync PR 35493 - Replace requestIdleCallback with double-rAF in wpt/accessibility tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox106 fixed)
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35493 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35493
Details from upstream follow.
Scott Haseley <shaseley@chromium.org> wrote:
Replace requestIdleCallback with double-rAF in wpt/accessibility tests
Two accessibility/crashtests are flaky because requestIdleCallback
requires threaded compositor mode in Blink to work properly. This CL
fixes the flakes by replacing requestIdleCallback with a double-
requestAnimationFrame, which runs the class resetting code after the
main contents has been rendered. This pattern is used by other
accessibility crashtests, e.g. slot-assignment-lockup.html.Alternatively we could run these tests in the virtutal/threaded test
suite, but changing the tests seems reasonable since there's a precedent
for double-rAF pattern and requestIdleCallback isn't supported yet in
WebKit.Bug: 1353428
Change-Id: I51497f7f93bf43cbc4e25fb28179e579bd98dc29Reviewed-on: https://chromium-review.googlesource.com/3834842
WPT-Export-Revision: c0112b948cb4dc881ddb777fb1382c8b8c1e266a
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS
: 2
Chrome
PASS
: 2
Safari
PASS
: 2
Links
Comment 4•2 years ago
|
||
bugherder |
Description
•