Re: [fetch] Handle an ArrayBuffer allocation failure (#228)

> @@ -2904,6 +2904,8 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul
>       <li>
>        <p><span title=concept-enqueue-ReadableStream>Enqueue</span> a <code>Uint8Array</code>
>        object wrapping an <code>ArrayBuffer</code> containing <var>bytes</var> to <var>stream</var>.
> +      If that threw an exception, <span title=concept-fetch-terminate>terminate</span> the ongoing
> +      fetch with <i>fatal</i> and abort these subsubsteps.

At least, I think they all need the same error handling.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/228/files#r54538279

Received on Tuesday, 1 March 2016 09:04:38 UTC