Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 676141739a2842debf124ddfe7f5b49cf179be86
https://github.com/WebKit/WebKit/commit/676141739a2842debf124ddfe7f5b49cf179be86
Author: Patrick Griffis <[email protected]>
Date: 2024-04-27 (Sat, 27 Apr 2024)
Changed paths:
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-nested.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-subresource.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-toplevel.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/fetch.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-get-blank-reload.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-get-blank.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-post-blank-reload.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-post-blank.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/get_all_cookies-default-samesite-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/get_named_cookie-default-samesite-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe-reload.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe.document.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/img.https-expected.txt
M
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/multiple-samesite-attributes.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/sandbox-iframe-nested.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/sandbox-iframe-subresource.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/setcookie-lax.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/setcookie-navigation.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/window-open-reload.https-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/window-open.https-expected.txt
M Source/WebCore/loader/cache/CachedResourceLoader.cpp
Log Message:
-----------
Cookies with SameSite=Strict should not be sent if a redirect is cross-site
https://bugs.webkit.org/show_bug.cgi?id=272986
Reviewed by Matthew Finkel.
As the spec states
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.2
> The request is not the result of a cross-site redirect. That is, the origin
> of every url
> in the request's url list is same-site with the request's current url's
> origin.
So when a cross-site redirect happens we set the request as not same-site.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-nested.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-subresource.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/about-blank-toplevel.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/fetch.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-get-blank-reload.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-get-blank.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-post-blank-reload.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/form-post-blank.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/get_all_cookies-default-samesite-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/get_named_cookie-default-samesite-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe-reload.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe.document.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/iframe.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/img.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/multiple-samesite-attributes.https-expected.txt:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/sandbox-iframe-nested.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/sandbox-iframe-subresource.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/setcookie-lax.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/setcookie-navigation.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/window-open-reload.https-expected.txt:
Added.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/cookies/samesite/window-open.https-expected.txt:
Added.
* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::updateRequestAfterRedirection):
Canonical link: https://commits.webkit.org/278078@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes