From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/webtransport/parent/WebTransportParent.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'dom/webtransport/parent') diff --git a/dom/webtransport/parent/WebTransportParent.cpp b/dom/webtransport/parent/WebTransportParent.cpp index 236c9a945a..885a7df079 100644 --- a/dom/webtransport/parent/WebTransportParent.cpp +++ b/dom/webtransport/parent/WebTransportParent.cpp @@ -625,25 +625,6 @@ void WebTransportParent::NotifyRemoteClosed(bool aCleanly, uint32_t aErrorCode, })); } -// This method is currently not used by WebTransportSessionProxy to inform of -// any session related events. All notification is recieved via -// WebTransportSessionProxy::OnSessionReady and -// WebTransportSessionProxy::OnSessionClosed methods -NS_IMETHODIMP -WebTransportParent::OnSessionReadyInternal( - mozilla::net::Http3WebTransportSession* aSession) { - Unused << aSession; - return NS_OK; -} - -NS_IMETHODIMP -WebTransportParent::OnIncomingStreamAvailableInternal( - mozilla::net::Http3WebTransportStream* aStream) { - // XXX implement once DOM WebAPI supports creation of streams - Unused << aStream; - return NS_OK; -} - NS_IMETHODIMP WebTransportParent::OnIncomingUnidirectionalStreamAvailable( nsIWebTransportReceiveStream* aStream) { @@ -795,13 +776,6 @@ NS_IMETHODIMP WebTransportParent::OnDatagramReceived( return NS_OK; } -NS_IMETHODIMP WebTransportParent::OnDatagramReceivedInternal( - nsTArray&& aData) { - // this method is used only for internal notificaiton within necko - // we dont expect to receive any notification with on this interface - return NS_OK; -} - NS_IMETHODIMP WebTransportParent::OnOutgoingDatagramOutCome( uint64_t aId, WebTransportSessionEventListener::DatagramOutcome aOutCome) { -- cgit v1.2.3