Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 588319957d0f360b5269bd35febab95bf871e6f7
      
https://github.com/WebKit/WebKit/commit/588319957d0f360b5269bd35febab95bf871e6f7
  Author: Matthew Finkel <[email protected]>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M LayoutTests/http/tests/cookies/multiple-cookies-iframes.https-expected.txt
    M LayoutTests/http/tests/cookies/multiple-cookies.https-expected.txt
    M LayoutTests/http/tests/cookies/multiple-cookies.https.html
    M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp

  Log Message:
  -----------
  [cocoa] multiple-cookies partitioned cookies test is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=317703
rdar://180007937

Reviewed by Alex Christensen.

This patch fixes two issues.

1) A recent change in the Cooca cookie implementation now requires that 
`SameSite=None`
is explicitly specified along with the `Partitioned` cookie attribute. This
patch updates the test and expectations to reflect this change.

2) A recent change within WebKit broke how the preference controlling opt-in
cookie partitioning is propagated to the web content processes. There is a race
condition within which a newly launched web content process may not receive an
updated value when the setting is enabled.

The setting propagation mechanism probably needs to be redesigned, but as a
workaround this patch invalidates the cached preference value whenever we
register a new web process with a datastore.

* LayoutTests/http/tests/cookies/multiple-cookies-iframes.https-expected.txt:
* LayoutTests/http/tests/cookies/multiple-cookies.https-expected.txt:
* LayoutTests/http/tests/cookies/multiple-cookies.https.html:
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::registerProcess):

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



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

Reply via email to