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

@nidhijaju commented on this pull request.



>  
 <ol>
- <li><p>Let <var>error</var> be an "<code><a exception>AbortError</a></code>" {{DOMException}}.
+ <li><p>Let <var>serializedError</var> be the result of calling [$StructuredSerialize$]
+ with <var>error</var>. If that threw an exception, let <var>serializedError</var> be the result of
+ calling [$StructuredSerialize$] with "{{AbortError}}" {{DOMException}}.
+
+ <li><p>Set <var>controller</var>'s <a for="fetch controller">serialized abort reason</a> to

That makes sense to me! I've added some substeps to fetch 12.2 to address that.

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

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

Received on Wednesday, 7 September 2022 07:18:15 UTC