Closed Bug 1735042 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31177 - Tests for requestIdleCallback deadline computation

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
101 Branch
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

See https://github.com/whatwg/html/pull/7166

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e847d76b8d41 [wpt PR 31177] - Tests for requestIdleCallback deadline computation, a=testonly https://hg.mozilla.org/integration/autoland/rev/d58d0b5329af [wpt PR 31177] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.