Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 1, 2023

s/abort-signal-any.tentative.any.js/abort-signal-any.any.js in
preparation for landing the PR.

Bug: 1323391
Change-Id: I981daef4eef9377dfc5b681ba86563ef2de53c41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4495130
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Scott Haseley <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1137974}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

s/abort-signal-any.tentative.any.js/abort-signal-any.any.js in
preparation for landing the PR.

Bug: 1323391
Change-Id: I981daef4eef9377dfc5b681ba86563ef2de53c41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4495130
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Scott Haseley <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1137974}
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4495130 branch from 57d027b to 0f0075f Compare May 1, 2023 20:15
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit d1f1ecb into master May 1, 2023
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-4495130 branch May 1, 2023 20:28
@annevk annevk mentioned this pull request May 2, 2023
4 tasks
annevk pushed a commit to whatwg/dom that referenced this pull request May 17, 2023
- This implements an optimization that puts all children on
  non-dependent signals (i.e., those associated with a controller).
  This allows "intermediate" nodes (e.g., B in A follows B follows C)
  to be garbage collected if they are being kept alive to propagate
  aborts.

- This removes the follow algorithm, so callsites will need to be
  updated.

- The "create a composite abort signal" algorithm takes an interface so
  that TaskSignal.any() can easily hook into it, but create a 
  TaskSignal.

- Some algorithms that invoke "follow" create an AbortSignal in a 
  particular realm. This enables doing that, but borrows some language 
  from elsewhere in the spec w.r.t. doing the default thing. Neither of
  the other two static members specify a realm.

Follow-up PRs:

- whatwg/fetch#1646
- w3c/ServiceWorker#1678
- whatwg/streams#1277

This also sets the stage to make AbortSignal's "signal abort" fully 
internal. #1194 tracks the remainder.

Tests: web-platform-tests/wpt#37434 and web-platform-tests/wpt#39785.

Fixes #920.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants