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

@noamr commented on this pull request.



> @@ -231,6 +231,9 @@ lt="authentication entry">authentication entries</a> (for HTTP authentication).
 
  <dt><dfn for="fetch controller">report timing steps</dfn> (default null)
  <dd>Null or an algorithm accepting a <a for=/>global object</a>.
+
+ <dt><dfn for="fetch controller">cloned error</dfn> (default "<code><a exception>AbortError</a></code>" {{DOMException}})

Maybe `abort reason`, and null as a default?

> @@ -7793,15 +7802,21 @@ method steps are:
    <li><p><a for=/>Resolve</a> <var>p</var> with <var>responseObject</var>.
   </ol>
 
+ <li><p>Let <var>serializedError</var> be the result of [$StructuredSerialize$]

the result of calling. Not sure you can use [$] in the fetch spec

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

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

Received on Thursday, 4 August 2022 08:05:43 UTC