Re: [whatwg/fetch] Add abort reason to abort fetch (PR #1343)

Regarding serialization, what makes sense to me is that when the reason has to be sent across realms (when handle fetch aborts its internal fetches), perform the equivalent of a [structuredClone](https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal) on `reason` since it can be any JS object.

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

Message ID: <whatwg/fetch/pull/1343/c1200766501@github.com>

Received on Monday, 1 August 2022 06:26:10 UTC