[webkit-changes] [WebKit/WebKit] 4457f6: Clean up some unnecessary platform checks in Netwo...

Alex Christensen noreply at github.com
Tue Jul 30 20:29:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4457f650858f07c1bfb3aac21161875b5a41590c
      https://github.com/WebKit/WebKit/commit/4457f650858f07c1bfb3aac21161875b5a41590c
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm

  Log Message:
  -----------
  Clean up some unnecessary platform checks in NetworkStorageSessionCocoa.mm
https://bugs.webkit.org/show_bug.cgi?id=277373
rdar://132842060

Reviewed by Matthew Finkel.

respondsToSelector checks were necessary when introducing new SPI for cookie access and setting,
but now we no longer support platforms where the new selectors aren't supported.

Omitting the new code paths on tvOS and watchOS was an oversight that this is fixing, too.

* Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::policyProperties):
(WebCore::cookiesForURL):
(WebCore::NetworkStorageSession::setHTTPCookiesForURL const):

Canonical link: https://commits.webkit.org/281632@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