Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a3132606650e5bd78421d7ce1ace511cbdb52b94
https://github.com/WebKit/WebKit/commit/a3132606650e5bd78421d7ce1ace511cbdb52b94
Author: Youenn Fablet <[email protected]>
Date: 2025-11-20 (Thu, 20 Nov 2025)
Changed paths:
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Headers.cmake
M Source/WebCore/Modules/streams/ReadableByteStreamController.cpp
M Source/WebCore/Modules/streams/ReadableByteStreamController.h
A Source/WebCore/Modules/webtransport/DatagramByteSource.cpp
A Source/WebCore/Modules/webtransport/DatagramByteSource.h
M Source/WebCore/Modules/webtransport/DatagramSource.cpp
M Source/WebCore/Modules/webtransport/DatagramSource.h
A Source/WebCore/Modules/webtransport/DatagramsReadableMode.h
A Source/WebCore/Modules/webtransport/DatagramsReadableMode.idl
M Source/WebCore/Modules/webtransport/WebTransport.cpp
M Source/WebCore/Modules/webtransport/WebTransportOptions.h
M Source/WebCore/Modules/webtransport/WebTransportOptions.idl
M Source/WebCore/Modules/webtransport/WebTransportSendGroup.cpp
M Source/WebCore/Modules/webtransport/WebTransportSendGroup.h
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/JSDOMPromise.cpp
M Source/WebKit/NetworkProcess/webtransport/WebTransport.serialization.in
Log Message:
-----------
WebTransport datagrams readable stream should have a byte source
rdar://164368616
https://bugs.webkit.org/show_bug.cgi?id=302225
Reviewed by Alex Christensen.
We add support for datagram byob sources.
As per spec, this is controlled by DatagramsReadableMode.
We keep the normal sources if DatagramsReadableMode is not provided.
Otherwise, we use a byob source and implement the algorithm defined in
https://w3c.github.io/webtransport/#pulldatagrams.
Manually tested on a local server.
This should be covered by WPT datagrams test once web transport server is up
and running.
Canonical link: https://commits.webkit.org/303336@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications