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

Correct Response's statusText check #1795

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -8273,8 +8273,8 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
<li><p>If <var>init</var>["{{ResponseInit/status}}"] is not in the range 200 to 599, inclusive,
then <a>throw</a> a {{RangeError}}.

<li><p>If <var>init</var>["{{ResponseInit/statusText}}"] does not match the
<a spec=http1>reason-phrase</a> token production, then <a>throw</a> a {{TypeError}}.
<li><p>If <var>init</var>["{{ResponseInit/statusText}}"] is not the empty string and does not match
the <a>reason-phrase</a> token production, then <a>throw</a> a {{TypeError}}.

<li><p>Set <var>response</var>'s <a for=Response>response</a>'s <a for=response>status</a> to
<var>init</var>["{{ResponseInit/status}}"].
Expand Down Expand Up @@ -9072,14 +9072,14 @@ Alexey Proskuryakov,
Andreas Kling,
Andrés Gutiérrez,
Andrew Sutherland,
Andrew Williams,<!-- recvfrom; GitHub -->
Andrew Williams<!-- recvfrom; GitHub -->,
Ángel González,
Anssi Kostiainen,
Arkadiusz Michalski,
Arne Johannessen,
Artem Skoretskiy,
Arthur Barstow,
Arthur Sonzogni, <!-- ArthurSonzogni; GitHub -->
Arthur Sonzogni<!-- ArthurSonzogni; GitHub -->,
Asanka Herath,
Axel Rauschmayer,
Ben Kelly,
Expand Down Expand Up @@ -9118,6 +9118,7 @@ Ehsan Akhgari,
Emily Stark,
Eric Lawrence,
Eric Orth,
Feng Yu<!-- F3n67u; GitHub -->,
François Marier,
Frank Ellerman,
Frederick Hirsch,
Expand Down