-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
For https://github.com/web-platform-tests/wpt/blob/master/scheduler/tentative/yield/yield-priority-timers.any.js, I am having a hard time understanding the expected behaviour.
My interpretation is that scheduler.yield()
dispatches a task for its promise to resolve, so when the first setTimeout handler run, it'll dispatch a task for this, and this task can possibly not be run until the second and the third setTimeout handlers to finish. I am not sure how the spec enforces the task for scheduler.yield()
to run first.
Metadata
Metadata
Assignees
Labels
No labels