Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d52eb029fa40b2be7f7a8275c2e5fccf962a2e7d
https://github.com/WebKit/WebKit/commit/d52eb029fa40b2be7f7a8275c2e5fccf962a2e7d
Author: Rupin Mittal <[email protected]>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_delete_arguments.https.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_set_arguments.https.any-expected.txt
M Source/WebCore/Modules/cookie-store/CookieStore.cpp
Log Message:
-----------
Properly handle a '/' in the cookie's path when setting a cookie with the
Cookie Store API
https://bugs.webkit.org/show_bug.cgi?id=259505
Reviewed by Chris Dumez and Alex Christensen.
The spec (https://wicg.github.io/cookie-store/#set-cookie-algorithm)
dictates that in the set function, if the path is not null, then if
the path does not begin with a '/', the promise should be rejected
with a TypeError. If the path does begin with a '/', but does not
end with a '/', then a '/' should be added, and then the rest of the
*
LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_delete_arguments.https.any-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_set_arguments.https.any-expected.txt:
* Source/WebCore/Modules/cookie-store/CookieStore.cpp:
(WebCore::CookieStore::set):
Canonical link: https://commits.webkit.org/266317@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes