- From: Luca Casonato <notifications@github.com>
- Date: Wed, 09 Mar 2022 06:16:04 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 March 2022 14:16:16 UTC
@lucacasonato commented on this pull request. > @@ -7520,6 +7542,25 @@ are: <li><p>Return <var>responseObject</var>. </ol> + +<p>The static +<dfn method for=Response><code>json(<var>data</var>, <var>init</var>)</code></dfn> method steps +are: + +<ol> + <li><p>Let <var>bytes</var> the result of running <a>serialize a JavaScript value to JSON bytes</a> Yes. From what I can tell the `JSON.stringify` call in `serialize a JavaScript value to a JSON string` will throw an exception in this case, which should just be propagated up. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1392#discussion_r822692402 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1392/review/904421963@github.com>
Received on Wednesday, 9 March 2022 14:16:16 UTC