diff options
author | bors-servo <infra@servo.org> | 2023-04-28 13:57:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 13:57:03 +0200 |
commit | 8a779b84d7f4194422ac79d69ac28bacd5c8e2a5 (patch) | |
tree | 8b3a352d4cbf9ff1fb1e6c2e03e68ebed80171d1 /components/script/animations.rs | |
parent | 3e3bd9c728aa0a08b7d23dfb9ea7a28c6e4e409f (diff) | |
parent | 7c9c786053da4801000a07c9fc4c9f10b7504cb2 (diff) | |
download | servo-8a779b84d7f4194422ac79d69ac28bacd5c8e2a5.tar.gz servo-8a779b84d7f4194422ac79d69ac28bacd5c8e2a5.zip |
Auto merge of #29640 - CYBAI:fix-response-empty-init, r=mrobinson
Reset to in-memory stream with empty byte sequence for None init body
Because the response body stream is initialized with FetchResponse, it cannot be processed with in-memory empty sequence. Thus, instead of using the FetchResponse stream, we'll reset it to Memory body stream with empty byte sequence if there's no init body.
With this PR, we can fix the TIMEOUT in `/fetch/content-type/response.window.html` so I think it should fix #22304.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22304
- [x] There are tests for these changes
Diffstat (limited to 'components/script/animations.rs')
0 files changed, 0 insertions, 0 deletions