[webkit-changes] [WebKit/WebKit] a4e9bc: Add IDL skeleton for WebTransport

Alex Christensen noreply at github.com
Tue Aug 29 08:49:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a4e9bc6fb756d57c2e3bad540d3330aa7d45fd19
      https://github.com/WebKit/WebKit/commit/a4e9bc6fb756d57c2e3bad540d3330aa7d45fd19
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/META.yml
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/README.md
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/bidirectional-cancel-crash.https-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/bidirectional-cancel-crash.https.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/abort-stream-from-server.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/client-close.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/custom-response.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo-request-headers.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo_datagram_length.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/query.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/server-close.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/server-connection-close.py
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/in-removed-iframe.https-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/in-removed-iframe.https.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/resources/webtransport-test-helpers.sub.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.worker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.js
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.serviceworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.serviceworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.sharedworker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.sharedworker.html
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.worker-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.worker.html
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    A Source/WebCore/Modules/webtransport/WebTransport.cpp
    A Source/WebCore/Modules/webtransport/WebTransport.h
    A Source/WebCore/Modules/webtransport/WebTransport.idl
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.cpp
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.h
    A Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.idl
    A Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h
    A Source/WebCore/Modules/webtransport/WebTransportCloseInfo.idl
    A Source/WebCore/Modules/webtransport/WebTransportCongestionControl.h
    A Source/WebCore/Modules/webtransport/WebTransportCongestionControl.idl
    A Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp
    A Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.h
    A Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.idl
    A Source/WebCore/Modules/webtransport/WebTransportDatagramStats.h
    A Source/WebCore/Modules/webtransport/WebTransportDatagramStats.idl
    A Source/WebCore/Modules/webtransport/WebTransportError.cpp
    A Source/WebCore/Modules/webtransport/WebTransportError.h
    A Source/WebCore/Modules/webtransport/WebTransportError.idl
    A Source/WebCore/Modules/webtransport/WebTransportErrorOptions.h
    A Source/WebCore/Modules/webtransport/WebTransportErrorOptions.idl
    A Source/WebCore/Modules/webtransport/WebTransportErrorSource.h
    A Source/WebCore/Modules/webtransport/WebTransportErrorSource.idl
    A Source/WebCore/Modules/webtransport/WebTransportHash.h
    A Source/WebCore/Modules/webtransport/WebTransportHash.idl
    A Source/WebCore/Modules/webtransport/WebTransportOptions.h
    A Source/WebCore/Modules/webtransport/WebTransportOptions.idl
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStream.cpp
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStream.h
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStream.idl
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStreamStats.h
    A Source/WebCore/Modules/webtransport/WebTransportReceiveStreamStats.idl
    A Source/WebCore/Modules/webtransport/WebTransportReliabilityMode.h
    A Source/WebCore/Modules/webtransport/WebTransportReliabilityMode.idl
    A Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp
    A Source/WebCore/Modules/webtransport/WebTransportSendStream.h
    A Source/WebCore/Modules/webtransport/WebTransportSendStream.idl
    A Source/WebCore/Modules/webtransport/WebTransportSendStreamOptions.h
    A Source/WebCore/Modules/webtransport/WebTransportSendStreamOptions.idl
    A Source/WebCore/Modules/webtransport/WebTransportSendStreamStats.h
    A Source/WebCore/Modules/webtransport/WebTransportSendStreamStats.idl
    A Source/WebCore/Modules/webtransport/WebTransportStats.h
    A Source/WebCore/Modules/webtransport/WebTransportStats.idl
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/bindings/js/WebCoreBuiltinNames.h

  Log Message:
  -----------
  Add IDL skeleton for WebTransport
https://bugs.webkit.org/show_bug.cgi?id=260810
rdar://114578275

Reviewed by Chris Dumez.

This adds IDLs based on the spec at https://www.w3.org/TR/webtransport/
They are off by default and have simple stub implementations that don't do anything yet.
I also imported the web platform tests with a slight modification to webtransport/bidirectional-cancel-crash.https.html
to make it not time out when running with an incomplete implementation.

* LayoutTests/imported/w3c/web-platform-tests/webtransport/META.yml: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/README.md: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection-ccns.https.tentative.window.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-closed-webtransport-connection.https.window.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection-ccns.https.tentative.window.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/back-forward-cache-with-open-webtransport-connection.https.window.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/bidirectional-cancel-crash.https-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/bidirectional-cancel-crash.https.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/close.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/connect.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.js: Added.
(const.url.of.BAD_URLS.test):
(const.options.of.OPTIONS.promise_test.async t):
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/constructor.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-fail.https.window.js: Added.
(set_csp):
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/csp-pass.https.window.js: Added.
(set_csp):
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagram-cancel-crash.https.window.js: Added.
(test):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.js: Added.
(async write_datagrams):
(async write_N_datagrams):
(async read_datagrams):
(async write_numbers):
(async write_large_datagrams):
(async read_numbers_byob):
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/datagrams.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/echo-large-bidirectional-streams.https.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/abort-stream-from-server.py: Added.
(session_established):
(stream_data_received):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/client-close.py: Added.
(session_established):
(stream_reset):
(stream_data_received):
(session_closed):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/custom-response.py: Added.
(connect_received):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo-request-headers.py: Added.
(session_established):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo.py: Added.
(session_established):
(stream_data_received):
(datagram_received):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/echo_datagram_length.py: Added.
(datagram_received):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/query.py: Added.
(session_established):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/server-close.py: Added.
(session_established):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/handlers/server-connection-close.py: Added.
(session_established):
(stream_data_received):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.js: Added.
(idl_array.self.webTransport.ready.catch):
(idl_array.self.webTransport.closed.catch):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/in-removed-iframe.https-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/in-removed-iframe.https.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/resources/webtransport-test-helpers.sub.js: Added.
(const.BASE.https):
(webtransport_code_to_http_code):
(async read_stream):
(async read_stream_as_string):
(async read_stream_as_json):
(check_and_remove_standard_headers):
(async query):
(async readInto):
(async openWebTransport):
(async openThenCloseWebTransport):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/server-certificate-hashes.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-close.https.any.worker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.js: Added.
(promise_test.async t):
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.serviceworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.serviceworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.sharedworker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.sharedworker.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.worker-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/webtransport/streams-echo.https.any.worker.html: Added.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/webtransport/WebTransport.cpp: Added.
(WebCore::WebTransport::create):
(WebCore::WebTransport::getStats):
(WebCore::createEmptyPromise):
(WebCore::WebTransport::ready):
(WebCore::WebTransport::reliability):
(WebCore::WebTransport::congestionControl):
(WebCore::WebTransport::closed):
(WebCore::WebTransport::draining):
(WebCore::WebTransport::close):
(WebCore::WebTransport::datagrams):
(WebCore::WebTransport::createBidirectionalStream):
(WebCore::WebTransport::incomingBidirectionalStreams):
(WebCore::WebTransport::createUnidirectionalStream):
(WebCore::WebTransport::incomingUnidirectionalStreams):
* Source/WebCore/Modules/webtransport/WebTransport.h: Added.
* Source/WebCore/Modules/webtransport/WebTransport.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.cpp: Added.
(WebCore::WebTransportBidirectionalStream::readable):
(WebCore::WebTransportBidirectionalStream::writable):
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportCloseInfo.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportCloseInfo.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportCongestionControl.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportCongestionControl.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.cpp: Added.
(WebCore::WebTransportDatagramDuplexStream::create):
(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: Added.
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportDatagramStats.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportDatagramStats.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportError.cpp: Added.
(WebCore::WebTransportError::create):
(WebCore::WebTransportError::WebTransportError):
(WebCore::WebTransportError::source):
(WebCore::WebTransportError::streamErrorCode):
* Source/WebCore/Modules/webtransport/WebTransportError.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportError.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportErrorOptions.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportErrorOptions.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportErrorSource.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportErrorSource.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportHash.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportHash.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportOptions.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportOptions.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportReceiveStream.cpp: Added.
(WebCore::WebTransportReceiveStream::getStats):
* Source/WebCore/Modules/webtransport/WebTransportReceiveStream.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportReceiveStream.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportReceiveStreamStats.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportReceiveStreamStats.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportReliabilityMode.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportReliabilityMode.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp: Added.
(WebCore::WebTransportSendStream::getStats):
(WebCore::WebTransportSendStream::sendOrder):
(WebCore::WebTransportSendStream::setSendOrder):
* Source/WebCore/Modules/webtransport/WebTransportSendStream.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStream.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStreamOptions.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStreamOptions.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStreamStats.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportSendStreamStats.idl: Added.
* Source/WebCore/Modules/webtransport/WebTransportStats.h: Added.
* Source/WebCore/Modules/webtransport/WebTransportStats.idl: Added.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:

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




More information about the webkit-changes mailing list