Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df0241e3ab24bb75fd5513ae0fcda4a71fc36be3
https://github.com/WebKit/WebKit/commit/df0241e3ab24bb75fd5513ae0fcda4a71fc36be3
Author: Youenn Fablet <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/read-min.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/read-min.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/read-min.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/read-min.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/tee.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/tee.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/tee.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-byte-streams/tee.any.worker-expected.txt
M Source/WebCore/Modules/fetch/FetchBody.cpp
M Source/WebCore/Modules/fetch/FetchBody.h
M Source/WebCore/Modules/fetch/FetchBodyOwner.cpp
M Source/WebCore/Modules/fetch/FetchBodyOwner.h
M Source/WebCore/Modules/fetch/FetchRequest.cpp
M Source/WebCore/Modules/fetch/FetchRequest.h
M Source/WebCore/Modules/fetch/FetchRequest.idl
M Source/WebCore/Modules/fetch/FetchResponse.cpp
M Source/WebCore/Modules/fetch/FetchResponse.h
M Source/WebCore/Modules/fetch/FetchResponse.idl
M Source/WebCore/Modules/streams/ReadableByteStreamController.h
M Source/WebCore/Modules/streams/ReadableStream.cpp
M Source/WebCore/Modules/streams/ReadableStream.h
M Source/WebCore/Modules/streams/ReadableStream.idl
A Source/WebCore/Modules/streams/StreamTeeUtilities.cpp
A Source/WebCore/Modules/streams/StreamTeeUtilities.h
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
Log Message:
-----------
Add tee support for readable byte streams
rdar://161246220
https://bugs.webkit.org/show_bug.cgi?id=299440
Reviewed by Chris Dumez.
We add support for teeing byte streams, following
https://streams.spec.whatwg.org/#abstract-opdef-readablebytestreamtee.
We introduce a class StreamTeeState which stores the various state values
needed by this algorithm.
This tee state is kept alive as long as:
- A tee child stream is alive.
- The tee parent stream is not closed.
The tee state keeps a reference to the parent stream and weak references to the
child streams.
We currently store as strong values the cancelled reasons until we can cancel
the parent stream.
Covered by rebased tests.
Canonical link: https://commits.webkit.org/300827@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes