Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scheduling APIs: Use abort reason in postTask
This updates postTask to use the abort reason when rejecting the associated promise due to a signal aborting. If no abort reason is specified during abort(), the reason defaults to an AbortError, which is the current behavior. Given this and the newness of the API, the impact of this change should be minimal. Spec PR: WICG/scheduling-apis#53 Bug: 1272822 Change-Id: Ia1dbf93e2d7e1b2e507609d0cb6f93f67deddc4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3611791 Reviewed-by: Nate Chapin <[email protected]> Commit-Queue: Scott Haseley <[email protected]> Cr-Commit-Position: refs/heads/main@{#997819}
- Loading branch information