[webkit-changes] [WebKit/WebKit] 0fd5d6: Add support for the extended attributes of Cookies...

Rupin Mittal noreply at github.com
Wed Jul 19 17:09:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0fd5d68a2b262b5899042bed3223e53c94f413cd
      https://github.com/WebKit/WebKit/commit/0fd5d68a2b262b5899042bed3223e53c94f413cd
  Author: Rupin Mittal <rupin at apple.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieListItem_attributes.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_set_arguments.https.any-expected.txt
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/cookie-store/CookieListItem.h
    M Source/WebCore/Modules/cookie-store/CookieListItem.idl
    M Source/WebCore/Modules/cookie-store/CookieStore.cpp

  Log Message:
  -----------
  Add support for the extended attributes of Cookies in the Cookie Store API
https://bugs.webkit.org/show_bug.cgi?id=259340

Reviewed by Chris Dumez.

Cookies have more attributes besides just name and value. We want to add
support for gettting/setting these attributes. However, we are not yet
sure if we wish to expose these attributes to JavaScript. So this patch
adds support for the attributes and hides them behind the
CookieStoreAPIExtendedAttributesEnabled feature flag.

* LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieListItem_attributes.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/cookie-store/cookieStore_set_arguments.https.any-expected.txt:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/cookie-store/CookieListItem.h:
(WebCore::CookieListItem::CookieListItem):
* Source/WebCore/Modules/cookie-store/CookieListItem.idl:
* Source/WebCore/Modules/cookie-store/CookieStore.cpp:
(WebCore::CookieStore::get):
(WebCore::CookieStore::getAll):

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




More information about the webkit-changes mailing list