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

Make extract throw for a disturbed/locked ReadableStream #801

Merged
merged 3 commits into from Aug 28, 2018
Merged
Changes from 1 commit
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
5 changes: 4 additions & 1 deletion fetch.bs
Expand Up @@ -5764,10 +5764,13 @@ constructor must run these steps:
<a for=request>use-CORS-preflight flag</a>.
</ol>

<li><p>If <var>inputBody</var> is <var>body</var> and <var>input</var> is <a for=Body>disturbed</a>
or <a for=Body>locked</a>, then <a>throw</a> a {{TypeError}}.

<!-- Any steps after this must not throw. -->

<li>
<p>If <var>inputBody</var> is non-null and <var>inputBody</var> is <var>body</var>, then:
<p>If <var>inputBody</var> is <var>body</var> and <var>inputBody</var> is non-null, then:

<ol>
<li>
Expand Down