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 |
Description
Dan Robertson
2022-12-08 16:44:54 PST
I updated the tests to better reflect the whitespace requirements: https://github.com/web-platform-tests/wpt/pull/39078. 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. Committed 261968@main (09841b4faec7): <https://commits.webkit.org/261968@main> Reviewed commits have been landed. Closing PR #11756 and removing active labels. |