[wpt-sync] Sync PR 31177 - Tests for requestIdleCallback deadline computation
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 31177 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31177
Details from upstream follow.
Noam Rosenthal <noam@webkit.org> wrote:
Tests for requestIdleCallback deadline computation
Deadline should be:
- capped at 50ms
- capped at 1000/60 (~16ms) when there is a pending rAF callback
- capped at the time of the next timeout
- be updated when the above conditions change, during the callback itself
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 1 subtests
Status Summary
Firefox
OK : 4
PASS: 3
FAIL: 1
Chrome
OK : 4
PASS: 3
FAIL: 1
Safari
OK : 4
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/requestidlecallback/deadline-max-timeout-dynamic.html
Check that the deadline is changed if there is a new timeout from within requestIdleCallback.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e847d76b8d41
https://hg.mozilla.org/mozilla-central/rev/d58d0b5329af
Description
•