Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7912bcba358fd535ec3d836c531c85eb45fb05e
      
https://github.com/WebKit/WebKit/commit/d7912bcba358fd535ec3d836c531c85eb45fb05e
  Author: Matthew Finkel <[email protected]>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.h
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.mm
    M 
Source/WebKit/NetworkProcess/webtransport/cocoa/NetworkTransportSessionCocoa.mm

  Log Message:
  -----------
  [cocoa] WebTransport is not marking connections
https://bugs.webkit.org/show_bug.cgi?id=321065
rdar://184076013

Reviewed by Rupin Mittal and Brady Eidson.

WebTransport connections aren't correctly marked in two ways:
1) correctly delegating the connection from the application
2) marking connections to known tracking domains

Therefore, the networking stack can't make informed decisions about how the
connection should be routed. For example, in some cases, these connections
should be proxied instead of allowing a direct connection to the server.

WebRTC already correctly supports this behavior, so this patch simply leverages
those existing helper functions. I adjusted the LibWebRTC guard so it only
protects the WebRTC-specific behavior.

* Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.h:
* Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.mm:
(WebKit::setNWParametersTrackerOptions):
* 
Source/WebKit/NetworkProcess/webtransport/cocoa/NetworkTransportSessionCocoa.mm:
(WebKit::createParameters):

Originally-landed-as: 316606.331@safari-7625-branch (ca088424bb54). 
rdar://185366034
Canonical link: https://commits.webkit.org/321069@main



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

Reply via email to