Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dd8ff691964227272eb086968fd2895792cf72cf
      
https://github.com/WebKit/WebKit/commit/dd8ff691964227272eb086968fd2895792cf72cf
  Author: Matthew Finkel <m_fin...@apple.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

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

  Log Message:
  -----------
  [cocoa] Adjust cookie partition key when created by javascript
https://bugs.webkit.org/show_bug.cgi?id=297283
rdar://151344443

Reviewed by Charlie Wolfe.

Set the appropriate NSHTTPCookie properties for plumbing the partition key and
specifying whether unpartitioned cookies should be accepted.

Covered by some existing tests and some tests that will be included in a future
PR. CHIPS is currently disabled.

* Source/WebCore/platform/network/NetworkStorageSession.h:
* Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::policyProperties):
(WebCore::cookiesForURLFromStorage):
(WebCore::NetworkStorageSession::setHTTPCookiesForURL const):
(WebCore::NetworkStorageSession::setCookiesFromDOM const):
(WebCore::NetworkStorageSession::setCookieFromDOM const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to