Bug 248994
| Summary: | Blob range request test failures | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dan Robertson <drobertson> |
| Component: | DOM | Assignee: | Anne van Kesteren <annevk> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | annevk, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=243403 | ||
Dan Robertson
Context: https://github.com/whatwg/fetch/pull/1520
Tests: https://github.com/web-platform-tests/wpt/pull/34384
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103171187>
Anne van Kesteren
I updated the tests to better reflect the whitespace requirements: https://github.com/web-platform-tests/wpt/pull/39078.
Anne van Kesteren
I attempted writing a patch for this and found some more issues that also impact the specification. We need to clamp the range start and end values pro-actively, otherwise `Content-Range` cannot be set correctly. Too large start values should result in rejection. It's not useful to return the last byte.
The draft patch can be found at https://github.com/WebKit/WebKit/pull/11756. (Apologies for the poor formatting of the commit message. `git webkit pr` was not my friend.)
It also fixes bug 243403.
EWS
Committed 261968@main (09841b4faec7): <https://commits.webkit.org/261968@main>
Reviewed commits have been landed. Closing PR #11756 and removing active labels.