Bug 1826811 [wpt PR 39410] - TaskSignal: add test for dependents added during priorit...
commit719d33f05f3995d8936cb8618bd7aa4c85355e55
authorScott Haseley <shaseley@chromium.org>
Thu, 13 Apr 2023 04:36:10 +0000 (13 04:36 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 14 Apr 2023 11:16:23 +0000 (14 11:16 +0000)
tree381a824c951269a5a449aafd6fc560b966ab446a
parentc8501a067994a4d66428ec4bab74e8c6879cf2b3
Bug 1826811 [wpt PR 39410] - TaskSignal: add test for dependents added during prioritychange, a=testonly

Automatic update from web-platform-tests
TaskSignal: add test for dependents added during prioritychange

Dependent signals can be added during prioritychange events, e.g. by
calling TaskSignal.any([], {priority: signal}) during `signal`'s
prioritychange event. Signaling prioritychange already has an early-
out that covers this case (if changing to the same priority, do
nothing), which is the intended behavior. This CL adds test coverage and
removes the associated TODO.

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

--

wpt-commits: fec055ad8f90bebfec843ce585db980cc00a0417
wpt-pr: 39410
testing/web-platform/tests/scheduler/task-signal-any-priority.tentative.any.js