[webkit-changes] [WebKit/WebKit] 8bb936: [CFNetwork] Remove unneeded respondsToSelector checks

Rose Silicon noreply at github.com
Fri Sep 13 08:47:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8bb936f2feba3f9b47b4c2dcb55522da5dea179e
      https://github.com/WebKit/WebKit/commit/8bb936f2feba3f9b47b4c2dcb55522da5dea179e
  Author: Rose <gfunni234 at gmail.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  [CFNetwork] Remove unneeded respondsToSelector checks
https://bugs.webkit.org/show_bug.cgi?id=279443

Reviewed by Alexey Proskuryakov.

These respondToSelector checks all return true now on the supported OSes.

Remove CFNETWORK_OVERRIDE_SESSION_COOKIE_ACCEPT_POLICY while we are at
it.

* Source/WTF/wtf/PlatformHave.h: Remove
  CFNETWORK_OVERRIDE_SESSION_COOKIE_ACCEPT_POLICY.
* Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h: Ditto.
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
  (WebKit::NetworkSessionCocoa::NetworkSessionCocoa):
  (WebKit::NetworkSessionCocoa::addWebPageNetworkParameters):
  Remove unneeded respondToSelector checks.

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



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


More information about the webkit-changes mailing list