Re: [whatwg/webidl] Add an extended attribute to allow propagating TC39's AsyncContext (PR #1568)

nicolo-ribaudo left a comment (whatwg/webidl#1568)

I rebased and fixed up some things in this pull request. Note that it does not fully work when it comes to nullable types, and it's related to https://github.com/whatwg/webidl/issues/670. In the corresponding HTML PR we currently use `[PropagatesAsyncContext] FunctionStringCallback? _callback` in [DataTransferItem's getAsString](https://html.spec.whatwg.org/#datatransferitem), but `FunctionStringCallback?` is _not_ a callback type so we cannot technically use the `[PropagatesAsyncContext]` attribute on it.

I am considering doing a ad-hoc fix, even though eventually we should fix https://github.com/whatwg/webidl/issues/670 in general.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1568#issuecomment-5179402556
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1568/c5179402556@github.com>

Received on Tuesday, 4 August 2026 12:59:04 UTC