Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f714ef3db2c613a97a0c96faadac08c70e299d1
      
https://github.com/WebKit/WebKit/commit/9f714ef3db2c613a97a0c96faadac08c70e299d1
  Author: Richard Robinson <[email protected]>
  Date:   2026-09-19 (Sat, 19 Sep 2026)

  Changed paths:
    M Source/WebKit/Platform/spi/Cocoa/Network_SPI.swiftinterface
    M Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer.mm
    M Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer/HTTPServerConnection.swift
    M Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer/HTTPServerCore.swift
    M Tools/TestWebKitAPI/Helpers/cocoa/NetworkSPI.h

  Log Message:
  -----------
  [Swift Testing] Replace the core implementation of HTTPServer with Swift 
(part 3)
https://bugs.webkit.org/show_bug.cgi?id=324220
rdar://187447295

Reviewed by Alex Christensen.

Port the logic for Http2 and Http2Proxy.

* Source/WebKit/Platform/spi/Cocoa/Network_SPI.swiftinterface:
* Tools/TestWebKitAPI/Helpers/cocoa/NetworkSPI.h:

Add required SPI declarations.

* Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer.mm:
(TestWebKitAPI::useSwiftImplementation):
* Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer/HTTPServerConnection.swift:
(NWConnection.receiveHTTPMessagingRequest() async throws(NWError) -> (request: 
HTTPRequest:body:)):
(NWConnection.send(_:contentContext:)):
(NWConnection.sendHTTPMessagingResponse(_:)):
(NWConnection.send(_:)): Deleted.
* Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer/HTTPServerCore.swift:
(didReceive(_:)):
(respondToHTTPMessagingRequests(on:)):
(HTTPServerCore.makeHTTPMessagingOptions):
(HTTPServerCore.makeParameters(_:identity:verifier:)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to