Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 718031552ba1f92ec2e38be89387408077d3f7ba
https://github.com/WebKit/WebKit/commit/718031552ba1f92ec2e38be89387408077d3f7ba
Author: Youenn Fablet <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/stashed-chunk.py
A
LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-body-stashed-chunk-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-body-stashed-chunk.html
M Source/WebCore/Modules/fetch/FetchBodySource.cpp
M Source/WebCore/Modules/fetch/FetchResponse.cpp
Log Message:
-----------
REGRESSION: streaming fetch() body is withheld until the next network chunk
when the reader is busy
rdar://185883588
https://bugs.webkit.org/show_bug.cgi?id=322545
Reviewed by Alex Christensen.
When the stream is pulling the FetchBodySource, we check whether the
FetchResponse has already received some data.
If so, we enqueue the data on the readable stream. This is implemented via
FetchResponse::feedStream().
Test:
imported/w3c/web-platform-tests/fetch/api/response/response-body-stashed-chunk.html
*
LayoutTests/imported/w3c/web-platform-tests/fetch/api/resources/stashed-chunk.py:
Added.
(main):
*
LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-body-stashed-chunk-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-body-stashed-chunk.html:
Added.
* Source/WebCore/Modules/fetch/FetchBodySource.cpp:
(WebCore::FetchBodySource::pull):
Canonical link: https://commits.webkit.org/319981@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications