Skip to content

Document AbortController removal and some improvements #1449

Open

Description

@marcoscaceres

What is the issue with the DOM Standard?

The Using AbortController and AbortSignal objects in APIs section lacks an example of how to remove the algorithm (and why, particularly as it relates to controlling browser UIs like a credential chooser). This came up in w3c-fedid/digital-credentials#463, where one needs to hold a reference to the algorithm to later remove it.

Also noting that WebAuth cites this section of the specification, then goes onto do things incorrectly (I think it never adds or removes the algorithm)... so we might need to clarify things a bit more about how to spec things properly.

Activity

  1. annevk commented on Mar 9, 2026

    @annevk
    Member

    I think the general idea here is that you have some kind of early return in your algorithm if you need to handle invalidation. Similar to how you'd do it with queueing tasks.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: abortingAbortController and AbortSignal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions