Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c42e05d2ce52602399ff469002daae3d9b135bdc
      
https://github.com/WebKit/WebKit/commit/c42e05d2ce52602399ff469002daae3d9b135bdc
  Author: Alex Christensen <[email protected]>
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M LayoutTests/fast/dom/construct-web-transport-error.html
    M Source/WebCore/Modules/webtransport/WebTransport.cpp
    M Source/WebCore/Modules/webtransport/WebTransportError.cpp
    M Source/WebCore/Modules/webtransport/WebTransportError.h
    M Source/WebCore/Modules/webtransport/WebTransportError.idl
    M Source/WebCore/Modules/webtransport/WebTransportErrorOptions.h
    M Source/WebCore/Modules/webtransport/WebTransportErrorOptions.idl
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebTransport.mm

  Log Message:
  -----------
  Make WebTransportError constructor have optional message argument
https://bugs.webkit.org/show_bug.cgi?id=305224
rdar://167866940

Reviewed by Matthew Finkel.

This complies better with 
https://webidl.spec.whatwg.org/#idl-DOMException-derived-interfaces
and is compatible with what Chrome has already shipped.

See discussion in https://github.com/w3c/webtransport/issues/715

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/WebTransport.mm

* LayoutTests/fast/dom/construct-web-transport-error.html:
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
(WebCore::WebTransport::streamReceiveError):
(WebCore::WebTransport::streamSendError):
(WebCore::WebTransport::cleanupWithSessionError):
(WebCore::WebTransport::didFail):
* Source/WebCore/Modules/webtransport/WebTransportError.cpp:
(WebCore::WebTransportError::create):
(WebCore::WebTransportError::WebTransportError):
(WebCore::WebTransportError::source):
(WebCore::WebTransportError::streamErrorCode):
* Source/WebCore/Modules/webtransport/WebTransportError.h:
* Source/WebCore/Modules/webtransport/WebTransportError.idl:
* Source/WebCore/Modules/webtransport/WebTransportErrorOptions.h:
* Source/WebCore/Modules/webtransport/WebTransportErrorOptions.idl:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebTransport.mm:
(TestWebKitAPI::TEST(WebTransport, DISABLED_ClientStreamAborts)):

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



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

Reply via email to