Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82b4d8f808dba694e8d796675c3ccef11fd139e6
      
https://github.com/WebKit/WebKit/commit/82b4d8f808dba694e8d796675c3ccef11fd139e6
  Author: Richard Robinson <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.mm
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm

  Log Message:
  -----------
  Stop soft-linking parts of Network framework
https://bugs.webkit.org/show_bug.cgi?id=326464
rdar://189263735

Reviewed by Abrar Rahman Protyasha.

WebKit already hard-links libnetwork, but six nw_* SPI functions were 
soft-linked
as optional. They were newer than some of the SDKs and OS builds WebKit 
supported
when they were adopted. All of them have been available since macOS 14 / iOS 17
or earlier, which predates every OS WebKit now supports. Call them directly and
remove the null checks.

* Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h:
Declare the proxy and tracker lookup SPI for builds without the internal SDK.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSessionCocoa::clearProxyConfigData):
(WebKit::NetworkSessionCocoa::setProxyConfigData):
Remove SUPPRESS_RETAINPTR_CTOR_ADOPT. It was only needed because the soft-linked
function pointer had no returns-retained annotation.

* Source/WebKit/NetworkProcess/webrtc/NetworkRTCUtilitiesCocoa.mm:
(WebKit::setNWParametersApplicationIdentifiers):
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm:
(WebKit::configureForAdvancedPrivacyProtections):

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



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

Reply via email to