Closed Bug 1894838 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 46014 - Scheduling APIs: Inherit by default in yield()

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 46014 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/46014
Details from upstream follow.

Scott Haseley <shaseley@chromium.org> wrote:

Scheduling APIs: Inherit by default in yield()

Change the default to inherit if the signal and priority options are not
given. This puts the implementation in line with the draft spec:
https://pr-preview.s3.amazonaws.com/shaseley/scheduling-apis/pull/88.html

Bug: 40633887
Change-Id: Id36c305421bac88d6d49ebb9b796c2d2584e341f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5506575
Reviewed-by: Nate Chapin \<japhet@chromium.org>
Commit-Queue: Scott Haseley \<shaseley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1295865}

Component: web-platform-tests → DOM: Performance
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 10 subtests

Status Summary

Firefox

OK : 2
FAIL : 20

Chrome

OK : 2
PASS : 18
FAIL : 2

Safari

ERROR: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /scheduler/tentative/yield/yield-priority-posttask.any.worker.html [wpt.fyi]
    • yield() with postTask tasks (priority option): FAIL (Chrome: PASS)
    • yield() with postTask tasks (signal option): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit priority): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit signal): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit signal by default): FAIL (Chrome: FAIL)
    • yield() with different priority from task (priority): FAIL (Chrome: PASS)
    • yield() with different priority from task (signal): FAIL (Chrome: PASS)
    • yield() priority overrides signal: FAIL (Chrome: PASS)
    • yield() with TaskSignal has dynamic priority: FAIL (Chrome: PASS)
    • yield() mixed inheritance and default: FAIL (Chrome: PASS)
  • /scheduler/tentative/yield/yield-priority-posttask.any.html [wpt.fyi]
    • yield() with postTask tasks (priority option): FAIL (Chrome: PASS)
    • yield() with postTask tasks (signal option): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit priority): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit signal): FAIL (Chrome: PASS)
    • yield() with postTask tasks (inherit signal by default): FAIL (Chrome: FAIL)
    • yield() with different priority from task (priority): FAIL (Chrome: PASS)
    • yield() with different priority from task (signal): FAIL (Chrome: PASS)
    • yield() priority overrides signal: FAIL (Chrome: PASS)
    • yield() with TaskSignal has dynamic priority: FAIL (Chrome: PASS)
    • yield() mixed inheritance and default: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89602d414598 [wpt PR 46014] - Scheduling APIs: Inherit by default in yield(), a=testonly https://hg.mozilla.org/integration/autoland/rev/46362016542e [wpt PR 46014] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.