Closed Bug 1754296 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32756 - [scheduling APIs] Remove scheduler.currentTaskSignal prototype

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Scott Haseley <shaseley@chromium.org> wrote:

[scheduling APIs] Remove scheduler.currentTaskSignal prototype

Removing this to make room for task attribution tracking
(crrev.com/c/3310850), which also needs the V8 APIs to get/set
continuation preserved embedder data. Since we don't know if we want to
pursue shipping this in its current form, we'll make room for the task
attribuion code rather than change the V8 API to handle multiple values.

Removing this API also removes the creation of implicit task signals,
which involved some slight refactoring. In particular, DOMTaskQueue is
modified to hold the priority (used in DOMTask for tracing and metrics)
and DOMTask is modified to take a potentially null AbortSignal and
non-null DOMTaskQueue instead of a non-null TaskSignal (potentially
implicit) and a task runner.

Bug: 995862, 1291129
Change-Id: I103e520f1e7d1f236a4845f099f0d0a662d1c017
Reviewed-on: https://chromium-review.googlesource.com/3449072
WPT-Export-Revision: 7be890733b48310b17668000f3777182e99c85d7

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bec81f463a65 [wpt PR 32756] - [scheduling APIs] Remove scheduler.currentTaskSignal prototype, a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5dec613f8744 [wpt PR 32756] - [scheduling APIs] Remove scheduler.currentTaskSignal prototype, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.