[whatwg/fetch] Correct Response's statusText check (PR #1795)

This has been wrong for a decade (see 38647562f94d396b77c62f77b4024ee21a1bb400) and nobody noticed until now.

Fixes #1794.

---

Omitting template as this has been implemented "correctly" for a decade as well.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fetch/1795.html" title="Last updated on Dec 12, 2024, 8:08 AM UTC (75893d9)">Preview</a> | <a href="https://whatpr.org/fetch/1795/0ce45ae...75893d9.html" title="Last updated on Dec 12, 2024, 8:08 AM UTC (75893d9)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1795

-- Commit Summary --

  * Correct Response's statusText check

-- File Changes --

    M fetch.bs (9)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1795.patch
https://github.com/whatwg/fetch/pull/1795.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1795
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1795@github.com>

Received on Thursday, 12 December 2024 08:08:21 UTC