Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle an ArrayBuffer allocation failure #228

Merged
merged 1 commit into from Mar 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions Overview.html
Expand Up @@ -2980,6 +2980,9 @@ <h3 id="http-network-fetch"><span class="secno">5.6 </span>HTTP-network fetch</h
<li>
<p><a href="#concept-enqueue-readablestream" title="concept-enqueue-ReadableStream">Enqueue</a> a <code>Uint8Array</code>
object wrapping an <code>ArrayBuffer</code> containing <var>bytes</var> to <var>stream</var>.
If that threw an exception, <a href="#concept-fetch-terminate" title="concept-fetch-terminate">terminate</a> the ongoing
fetch with <i>fatal</i>, <a href="#concept-error-readablestream" title="concept-error-ReadableStream">error</a>
<var>stream</var> with that exception and abort these subsubsteps.

<li><p>If <var>stream</var> doesn't <a href="#concept-readablestream-need-more-data" title="concept-ReadableStream-need-more-data">need more
data</a> and <var>request</var>'s <a href="#synchronous-flag">synchronous flag</a> is unset, ask the user agent
Expand Down
3 changes: 3 additions & 0 deletions Overview.src.html
Expand Up @@ -2918,6 +2918,9 @@ <h3>HTTP-network fetch</h3>
<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>, <span title=concept-error-ReadableStream>error</span>
<var>stream</var> with that exception and abort these subsubsteps.

<li><p>If <var>stream</var> doesn't <span title=concept-ReadableStream-need-more-data>need more
data</span> and <var>request</var>'s <span>synchronous flag</span> is unset, ask the user agent
Expand Down