Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 832fafdf37776762c2c98d44541e14b0b3838899
https://github.com/WebKit/WebKit/commit/832fafdf37776762c2c98d44541e14b0b3838899
Author: Alex Christensen <[email protected]>
Date: 2026-07-23 (Thu, 23 Jul 2026)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/interfaces/webtransport.idl
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.html
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.js
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.serviceworker-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.serviceworker.html
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.sharedworker-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.sharedworker.html
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.worker-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.worker.html
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.worker-expected.txt
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/WebTransportSession.h
M Source/WebCore/Modules/webtransport/WorkerWebTransportSession.cpp
M Source/WebCore/Modules/webtransport/WorkerWebTransportSession.h
M Source/WebCore/PAL/pal/spi/cocoa/NetworkSPI.h
M Source/WebKit/Configurations/AllowedSPI.toml
M Source/WebKit/NetworkProcess/cocoa/NetworkSoftLink.h
M Source/WebKit/NetworkProcess/cocoa/NetworkSoftLink.mm
M Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.cpp
M Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.h
M
Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.messages.in
M
Source/WebKit/NetworkProcess/webtransport/cocoa/NetworkTransportSessionCocoa.mm
M Source/WebKit/Scripts/webkit/opaque_ipc_types.tracking.in
M
Source/WebKit/WebProcess/Network/WebTransportSession.cpp
M Source/WebKit/WebProcess/Network/WebTransportSession.h
Log Message:
-----------
Implement WebTransport.exportKeyingMaterial
https://bugs.webkit.org/show_bug.cgi?id=320030
rdar://182965348
Reviewed by Basuke Suzuki.
This works on platforms with the accessor for the security metadata from
webtransport metadata,
nw_webtransport_metadata_copy_sec_protocol_metadata.
* LayoutTests/imported/w3c/web-platform-tests/interfaces/webtransport.idl:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.js:
Added.
(toBytes):
(arraysEqual):
(promise_test.async t):
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.serviceworker-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.serviceworker.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.sharedworker-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.sharedworker.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.worker-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/export-keying-material.https.any.worker.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.serviceworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.sharedworker-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webtransport/idlharness.https.sub.any.worker-expected.txt:
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
(WebCore::WebTransport::exportKeyingMaterial):
* Source/WebCore/Modules/webtransport/WebTransport.h:
* Source/WebCore/Modules/webtransport/WebTransport.idl:
* Source/WebCore/Modules/webtransport/WebTransportSession.h:
* Source/WebCore/Modules/webtransport/WorkerWebTransportSession.cpp:
(WebCore::WorkerWebTransportSession::exportKeyingMaterial):
* Source/WebCore/Modules/webtransport/WorkerWebTransportSession.h:
* Source/WebCore/PAL/pal/spi/cocoa/NetworkSPI.h:
* Source/WebKit/Configurations/AllowedSPI.toml:
* Source/WebKit/NetworkProcess/cocoa/NetworkSoftLink.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkSoftLink.mm:
*
Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.cpp:
(WebKit::NetworkTransportSession::exportKeyingMaterial):
* Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.h:
(WebKit::NetworkTransportSession::SecurityProtocolMetadata::create):
(WebKit::NetworkTransportSession::SecurityProtocolMetadata::receivedMetadata):
(WebKit::NetworkTransportSession::SecurityProtocolMetadata::metadata const):
* Source/WebKit/NetworkProcess/webtransport/NetworkTransportSession.messages.in:
*
Source/WebKit/NetworkProcess/webtransport/cocoa/NetworkTransportSessionCocoa.mm:
(WebKit::NetworkTransportSession::create):
(WebKit::NetworkTransportSession::NetworkTransportSession):
(WebKit::createParameters):
(WebKit::NetworkTransportSession::exportKeyingMaterial):
* Source/WebKit/Scripts/webkit/opaque_ipc_types.tracking.in:
* Source/WebKit/WebProcess/Network/WebTransportSession.cpp:
(WebKit::WebTransportSession::exportKeyingMaterial):
*
Source/WebKit/WebProcess/Network/WebTransportSession.h:
Canonical link:
https://flagged.apple.com:443/proxy?t2=dj9y5s3cN4&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE3ODM1QG1haW4=&emid=881e8fda-2efc-4ba7-93dd-1af2b0dd829b&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications