Skip to content

Conversation

@annevk
Copy link
Member

@annevk annevk commented Jan 17, 2026

See whatwg/fetch#1907 for context.

We use an image instead of JavaScript as JavaScript requires a 2xx status whereas images don't care.

Also remove a redundant null check from useStoredRangeResponse() and a redundant catch() elsewhere.

See whatwg/fetch#1907 for context.

We use an image instead of JavaScript as JavaScript requires a 2xx status whereas images don't care.

Also remove a redundant null check from useStoredRangeResponse() and a redundant catch() elsewhere.
@annevk annevk merged commit e3661ee into master Jan 20, 2026
25 checks passed
@annevk annevk deleted the annevk/test-416 branch January 20, 2026 08:09
@annevk annevk mentioned this pull request Jan 20, 2026
5 tasks
annevk added a commit to whatwg/fetch that referenced this pull request Jan 20, 2026
While it is less likely you can attack a 416, it's probably good to stay consistent.

Test: web-platform-tests/wpt#57225.

Fixes #1906.
webkit-commit-queue pushed a commit to annevk/WebKit that referenced this pull request Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants