Skip to content

Web integration pull requests tracking #152

Open

Description

@nicolo-ribaudo
Spec PR Description Depends on Status
WebIDL whatwg/webidl#1568

Add an extended attribute to allow propagating TC39's AsyncContext

Adds supports for marking callbacks in WebIDL as [PropagatesAsyncContext], meaning that they automatically capture and propagate the async context.

whatwg/html#13063
(⚠️ cycle)
Open
WebIDL whatwg/webidl#1624

Propagate a type's extended attributes to a nullable inner type

Allows [PropagatesAsyncContext] to be used on nullable callback types, i.e. [PropagatesAsyncContext] FunctionStringCallback? _callback.

✅ Merged
HTML whatwg/html#13063

AsyncContext proposal integration

It defines the AsyncContext concepts in HTML, propagates it for basic callback-taking APIs, for script execution, and for event-based HTML APIs. It also adds the context snapshot to error/unhandledrejection events.

Design docs: https://github.com/tc39/proposal-async-context/blob/main/web-integration/html__events.md, https://github.com/tc39/proposal-async-context/blob/main/web-integration/html__custom-elements.md

whatwg/dom#1521 (⚠️ cycle, this PR will need to be split before landing),
whatwg/webidl#1624
Open
DOM whatwg/dom#1521

AsyncContext proposal integration

It defines a WebIDL attribute, [PropagatesAsyncContextToEvents], to automatically propagate the context from a method to the events that it trigger, living on the same object. It also defines basic AsyncContext infrastructure to fire events in a given context, and AbortSignal.timeout() propagation.

Design doc: https://github.com/tc39/proposal-async-context/blob/main/web-integration/dom.md

whatwg/html#13063 Open

Activity

  1. locked and limited conversation to collaborators on Apr 21, 2026
  2. nicolo-ribaudo commented on Sep 11, 2026

    @nicolo-ribaudo
    MemberAuthor

    I'm working on a stack of PRs for the propagation to events in HTML, at https://github.com/nicolo-ribaudo/html/pulls?q=sort%3Acreated-desc%20is%3Apr%20state%3Aopen%20label%3A%22async%20context%22. It's not complete yet.

    EDIT: The whole PR now is at whatwg/html#13063.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions