[webkit-changes] [WebKit/WebKit] 51517f: Begin adding abstractions for implementing WebTran...

Alex Christensen noreply at github.com
Tue Sep 26 08:23:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51517fd7e8e0b7f5f9839238d7d35da25631bd37
      https://github.com/WebKit/WebKit/commit/51517fd7e8e0b7f5f9839238d7d35da25631bd37
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.serviceworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.sharedworker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.worker-expected.txt
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker-expected.txt
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker-expected.txt
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker-expected.txt
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Modules/streams/ReadableStream.cpp
    M Source/WebCore/Modules/streams/ReadableStream.h
    M Source/WebCore/Modules/streams/ReadableStreamSource.h
    M Source/WebCore/Modules/streams/WritableStream.cpp
    M Source/WebCore/Modules/streams/WritableStream.h
    A Source/WebCore/Modules/webtransport/DatagramSink.cpp
    A Source/WebCore/Modules/webtransport/DatagramSink.h
    A Source/WebCore/Modules/webtransport/DatagramSource.cpp
    A Source/WebCore/Modules/webtransport/DatagramSource.h
    M Source/WebCore/Modules/webtransport/WebTransport.cpp
    M Source/WebCore/Modules/webtransport/WebTransport.h
    M Source/WebCore/Modules/webtransport/WebTransport.idl
    M Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.cpp
    M Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.h
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamConstructionParameters.cpp
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamConstructionParameters.h
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamSource.cpp
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamSource.h
    M Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h
    M Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp
    M Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.h
    M Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.idl
    M Source/WebCore/Modules/webtransport/WebTransportError.cpp
    M Source/WebCore/Modules/webtransport/WebTransportError.h
    M Source/WebCore/Modules/webtransport/WebTransportReceiveStream.cpp
    M Source/WebCore/Modules/webtransport/WebTransportReceiveStream.h
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStreamSource.cpp
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStreamSource.h
    M Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp
    M Source/WebCore/Modules/webtransport/WebTransportSendStream.h
    A Source/WebCore/Modules/webtransport/WebTransportSession.cpp
    A Source/WebCore/Modules/webtransport/WebTransportSession.h
    A Source/WebCore/Modules/webtransport/WebTransportSessionClient.h
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/bindings/js/ReadableStreamDefaultController.h
    M Source/WebCore/loader/EmptyClients.cpp
    M Source/WebCore/page/SocketProvider.h
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources-output.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportBidirectionalStream.cpp
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportBidirectionalStream.h
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportReceiveStream.cpp
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportReceiveStream.h
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportSendStream.cpp
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportSendStream.h
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.cpp
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.h
    A Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.messages.in
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp
    M Source/WebKit/Sources.txt
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp
    M Source/WebKit/WebProcess/Network/WebSocketProvider.cpp
    M Source/WebKit/WebProcess/Network/WebSocketProvider.h
    A Source/WebKit/WebProcess/Network/WebTransportReceiveStreamSource.cpp
    A Source/WebKit/WebProcess/Network/WebTransportReceiveStreamSource.h
    A Source/WebKit/WebProcess/Network/WebTransportSendStreamSink.cpp
    A Source/WebKit/WebProcess/Network/WebTransportSendStreamSink.h
    A Source/WebKit/WebProcess/Network/WebTransportSession.cpp
    A Source/WebKit/WebProcess/Network/WebTransportSession.h
    A Source/WebKit/WebProcess/Network/WebTransportSession.messages.in
    M Source/WebKit/WebProcess/WebCoreSupport/WebBadgeClient.cpp
    M Source/WebKit/WebProcess/WebPage/WebHistoryItemClient.cpp
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/cocoa/RemoteRealtimeMediaSourceProxy.h
    M Source/WebKitLegacy/WebCoreSupport/LegacySocketProvider.cpp
    M Source/WebKitLegacy/WebCoreSupport/LegacySocketProvider.h

  Log Message:
  -----------
  Begin adding abstractions for implementing WebTransport
https://bugs.webkit.org/show_bug.cgi?id=261007
rdar://114800387

Reviewed by Youenn Fablet.

This isn't complete.  It's notably missing the part where it actually hooks up to something that sends and receives over the network.
But local experiments have shown that this is enough infrastructure to get datagrams and streams sending and receiving, and we can polish from there.
This is a good starting point.

Several abstractions are necessary.  This introduces them and begins hooking them up to each other, but they are not completely hooked up yet.

We need a way to get a WebKit::WebTransportSession from WebCore.  I used SocketProvider for this.  It's a very similar job to providing WebSocket channels.
It will be renamed accordingly.

We need a way to get from C++ into the various ReadableStreams when datagrams or streams arrive.  I made WebTransportBidirectionalStreamSource
and DatagramSource and WebTransportReceiveStreamSource for this.

We need a way to get datagrams from the JS WritableStream to C++.  I made DatagramSink for this.

We need a way to get from the web process to the network process and back.  I made WebTransportSession and NetworkTransportSession for this,
and I made them communicate with each other and have linked lifetimes.  They own WebTransportStream and NetworkTransportStream objects which
I did not make MessageReceivers and MessageSenders because their identifiers need to be ProcessQualified because sometimes they are made in the
web process and sometimes their creation is initiated from the network process.  So like WebFrame/WebFrameProxy (which also needs to have an identifier
that is ProcessQualified) to send a message to these objects you send a message to their owner that then routes the message to the owned object.

The initial values for some of the member variables of WebTransportDatagramDuplexStream are stated by the specification to be implementation defined.
Chrome and Firefox both have an initial value of 1024 for m_outgoingMaxDatagramSize, so I decided to go with the same value.
Chrome and Firefox both have an initial value of 1 for m_incomingDatagramsHighWaterMark, so I did the same.
Firefox has an initial value of 5 for m_outgoingDatagramsHighWaterMark and Chrome seems to effectively have an initial value of 1, so I went with 1.
These values can be revisited if necessary.

It builds, it shows a little bit of progress in the tests, and it seems like things are mostly in the right place, so this is a good checkpoint to make a PR from.
Nothing is actually hooked up to the network yet, but that'll be the next step.

* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/in-removed-iframe.https-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any-expected.txt:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt:
* LayoutTests/platform/mac-wk1/TestExpectations:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/webtransport/DatagramSink.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
(WebCore::DatagramSink::write):
(WebCore::DatagramSink::close):
(WebCore::DatagramSink::error):
* Source/WebCore/Modules/webtransport/DatagramSink.h: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
(WebCore::DatagramSink::create):
* Source/WebCore/Modules/webtransport/DatagramSource.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
(WebCore::DatagramSource::setActive):
(WebCore::DatagramSource::setInactive):
(WebCore::DatagramSource::doStart):
(WebCore::DatagramSource::doPull):
(WebCore::DatagramSource::doCancel):
* Source/WebCore/Modules/webtransport/DatagramSource.h: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
(WebCore::DatagramSource::create):
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
(WebCore::WebTransport::create):
(WebCore::WebTransport::initializeOverHTTP):
(WebCore::createPromiseAndWrapper):
(WebCore::WebTransport::WebTransport):
(WebCore::WebTransport::activeDOMObjectName const):
(WebCore::WebTransport::virtualHasPendingActivity const):
(WebCore::WebTransport::receiveDatagram):
(WebCore::WebTransport::receiveIncomingUnidirectionalStream):
(WebCore::WebTransport::receiveBidirectionalStream):
(WebCore::WebTransport::getStats):
(WebCore::WebTransport::ready):
(WebCore::WebTransport::reliability):
(WebCore::WebTransport::congestionControl):
(WebCore::WebTransport::closed):
(WebCore::WebTransport::draining):
(WebCore::WebTransport::datagrams):
(WebCore::WebTransport::incomingBidirectionalStreams):
(WebCore::WebTransport::incomingUnidirectionalStreams):
(WebCore::createRejectingPromise): Deleted.
* Source/WebCore/Modules/webtransport/WebTransport.h:
* Source/WebCore/Modules/webtransport/WebTransport.idl:
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamSource.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp.
(WebCore::WebTransportBidirectionalStreamSource::setActive):
(WebCore::WebTransportBidirectionalStreamSource::setInactive):
(WebCore::WebTransportBidirectionalStreamSource::doStart):
(WebCore::WebTransportBidirectionalStreamSource::doPull):
(WebCore::WebTransportBidirectionalStreamSource::doCancel):
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStreamSource.h: Copied from Source/WebCore/Modules/webtransport/WebTransportError.h.
(WebCore::WebTransportBidirectionalStreamSource::create):
* Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h:
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp:
(WebCore::WebTransportDatagramDuplexStream::create):
(WebCore::WebTransportDatagramDuplexStream::WebTransportDatagramDuplexStream):
(WebCore::WebTransportDatagramDuplexStream::readable):
(WebCore::WebTransportDatagramDuplexStream::writable):
(WebCore::WebTransportDatagramDuplexStream::maxDatagramSize):
(WebCore::WebTransportDatagramDuplexStream::incomingMaxAge):
(WebCore::WebTransportDatagramDuplexStream::outgoingMaxAge):
(WebCore::WebTransportDatagramDuplexStream::incomingHighWaterMark):
(WebCore::WebTransportDatagramDuplexStream::outgoingHighWaterMark):
(WebCore::WebTransportDatagramDuplexStream::setIncomingMaxAge):
(WebCore::WebTransportDatagramDuplexStream::setOutgoingMaxAge):
(WebCore::WebTransportDatagramDuplexStream::setIncomingHighWaterMark):
(WebCore::WebTransportDatagramDuplexStream::setOutgoingHighWaterMark):
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.h:
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.idl:
* Source/WebCore/Modules/webtransport/WebTransportError.h:
* Source/WebCore/Modules/webtransport/WebTransportReceiveStreamSource.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp.
(WebCore::WebTransportReceiveStreamSource::setActive):
(WebCore::WebTransportReceiveStreamSource::setInactive):
(WebCore::WebTransportReceiveStreamSource::doStart):
(WebCore::WebTransportReceiveStreamSource::doPull):
(WebCore::WebTransportReceiveStreamSource::doCancel):
* Source/WebCore/Modules/webtransport/WebTransportReceiveStreamSource.h: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
(WebCore::WebTransportReceiveStreamSource::create):
* Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp:
(WebCore::WebTransportSendStream::sendOrder):
(WebCore::WebTransportSendStream::setSendOrder):
* Source/WebCore/Modules/webtransport/WebTransportSendStream.h:
* Source/WebCore/Modules/webtransport/WebTransportSession.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
(WebCore::WebTransportSession::attachClient):
* Source/WebCore/Modules/webtransport/WebTransportSession.h: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
* Source/WebCore/Modules/webtransport/WebTransportSessionClient.h: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
(WebCore::WebTransportSessionClient::~WebTransportSessionClient):
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/loader/EmptyClients.cpp:
* Source/WebCore/page/SocketProvider.h:
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
(WebKit::NetworkConnectionToWebProcess::initializeWebTransportSession):
(WebKit::NetworkConnectionToWebProcess::destroyWebTransportSession):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* Source/WebKit/NetworkProcess/NetworkTransportSession.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp.
(WebKit::NetworkTransportSession::NetworkTransportSession):
(WebKit::NetworkTransportSession::sendDatagram):
(WebKit::NetworkTransportSession::streamSendBytes):
(WebKit::NetworkTransportSession::streamSendStopSending):
(WebKit::NetworkTransportSession::streamReset):
(WebKit::NetworkTransportSession::createOutgoingUnidirectionalStream):
(WebKit::NetworkTransportSession::createBidirectionalStream):
* Source/WebKit/NetworkProcess/NetworkTransportSession.h: Copied from Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.h.
* Source/WebKit/NetworkProcess/NetworkTransportSession.messages.in: Added.
* Source/WebKit/NetworkProcess/NetworkTransportStream.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportSendStream.h.
(WebKit::NetworkTransportStream::sendBytes):
(WebKit::NetworkTransportStream::sendStopSending):
(WebKit::NetworkTransportStream::reset):
* Source/WebKit/NetworkProcess/NetworkTransportStream.h: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
* Source/WebKit/Scripts/webkit/messages.py:
(serialized_identifiers):
(types_that_cannot_be_forward_declared):
(headers_for_type):
* Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp:
(IPC::serializedIdentifiers):
* Source/WebKit/Sources.txt:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:
(WebKit::NetworkProcessConnection::didReceiveMessage):
* Source/WebKit/WebProcess/Network/WebSocketProvider.cpp:
(WebKit::WebSocketProvider::initializeWebTransportSession):
* Source/WebKit/WebProcess/Network/WebSocketProvider.h:
* Source/WebKit/WebProcess/Network/WebTransportSession.cpp: Added.
(WebKit::WebTransportSession::initialize):
(WebKit::WebTransportSession::WebTransportSession):
(WebKit::WebTransportSession::~WebTransportSession):
(WebKit::WebTransportSession::messageSenderConnection const):
(WebKit::WebTransportSession::messageSenderDestinationID const):
(WebKit::WebTransportSession::receiveDatagram):
(WebKit::WebTransportSession::receiveIncomingUnidirectionalStream):
(WebKit::WebTransportSession::receiveBidirectionalStream):
(WebKit::WebTransportSession::streamReceiveBytes):
(WebKit::WebTransportSession::sendDatagram):
(WebKit::WebTransportSession::createOutgoingUnidirectionalStream):
(WebKit::WebTransportSession::createBidirectionalStream):
* Source/WebKit/WebProcess/Network/WebTransportSession.h: Added.
* Source/WebKit/WebProcess/Network/WebTransportSession.messages.in: Added.
* Source/WebKit/WebProcess/Network/WebTransportStream.cpp: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
(WebKit::WebTransportStream::receiveBytes):
* Source/WebKit/WebProcess/Network/WebTransportStream.h: Copied from Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h.
* Source/WebKit/WebProcess/Network/WorkerWebTransportSession.cpp: Added.
(WebKit::WorkerWebTransportSession::initialize):
(WebKit::WorkerWebTransportSession::WorkerWebTransportSession):
(WebKit::WorkerWebTransportSession::~WorkerWebTransportSession):
(WebKit::WorkerWebTransportSession::receiveDatagram):
(WebKit::WorkerWebTransportSession::receiveIncomingUnidirectionalStream):
(WebKit::WorkerWebTransportSession::receiveBidirectionalStream):
(WebKit::WorkerWebTransportSession::sendDatagram):
(WebKit::WorkerWebTransportSession::createOutgoingUnidirectionalStream):
(WebKit::WorkerWebTransportSession::createBidirectionalStream):
* Source/WebKit/WebProcess/Network/WorkerWebTransportSession.h: Copied from Source/WebCore/Modules/webtransport/WebTransportError.h.
* Source/WebKit/WebProcess/WebCoreSupport/WebBadgeClient.cpp:
(WebKit::WebBadgeClient::setAppBadge):
(WebKit::WebBadgeClient::setClientBadge):
* Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp:
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::webTransportSession):
(WebKit::WebProcess::addWebTransportSession):
(WebKit::WebProcess::removeWebTransportSession):
* Source/WebKit/WebProcess/WebProcess.h:
* Source/WebKitLegacy/WebCoreSupport/LegacySocketProvider.cpp:
(LegacySocketProvider::initializeWebTransportSession):
* Source/WebKitLegacy/WebCoreSupport/LegacySocketProvider.h:

Canonical link: https://commits.webkit.org/268453@main




More information about the webkit-changes mailing list