Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0728a2ae210e36af0b55f9fd8478eb99c56bfdf4
      
https://github.com/WebKit/WebKit/commit/0728a2ae210e36af0b55f9fd8478eb99c56bfdf4
  Author: Elliott Williams <e...@apple.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm

  Log Message:
  -----------
  Move ADVANCED_PRIVACY_PROTECTIONS flags from WebKitAdditions and add 
Network.framework SPI
https://bugs.webkit.org/show_bug.cgi?id=258429

Reviewed by Wenson Hsieh.

Work towards making the build functional on macOS Sonoma. Publicizes the
flags used to control the web privacy features announced this year.

Reverts 261235@main (01d2717a458d6bfcc418c788caa2be8a57d25d8e). There is
no need to continue supporting older internal SDKs which don't have the
same function signature for nw_proxy_config_create_with_agent_data.

Disables AdvancedPrivacyProtections API tests which swizzle
WebPrivacy.framework on systems where the framework is not available.

* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm: Stop
  checking for private headers; CFNetworkSPI.h has all we need.
* Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm:
  Wrap QueryParameterRequestSwizzler and test cases that use it inside
  HAVE(SYSTEM_SUPPORT_FOR_ADVANCED_PRIVACY_PROTECTIONS).
* Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: Stop checking for
  private headers; CFNetworkSPI.h has all we need.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to