Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions features/cookie-store-get-metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Cookie store get metadata

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Cookie store get metadata
name: cookieStore.get() metadata

I think this is simpler with the entry point written like this.

description: The `domain`, `expires`, `path`, `sameSite` and `secure` properties returned from CookieStore.get

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: The `domain`, `expires`, `path`, `sameSite` and `secure` properties returned from CookieStore.get
description: The `cookieStore.get()` method returns cookie metadata, such as the `domain`, `expires`, `path`, `sameSite` and `secure` properties.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should partitioned be in that list of properties too?

spec: https://cookiestore.spec.whatwg.org/
discouraged:
reason: Scripting access to cookie metadata creates privacy and forward-compatibility problems.
according_to:
- https://github.com/whatwg/cookiestore/pull/274
compat_features:
- api.CookieStore.get.domain_return_property
- api.CookieStore.get.expires_return_property
- api.CookieStore.get.path_return_property
- api.CookieStore.get.sameSite_return_property
- api.CookieStore.get.secure_return_property
15 changes: 15 additions & 0 deletions features/cookie-store-get-metadata.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Generated from: cookie-store-get-metadata.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "87"
chrome_android: "87"
edge: "87"
compat_features:
- api.CookieStore.get.domain_return_property
- api.CookieStore.get.expires_return_property
- api.CookieStore.get.path_return_property
- api.CookieStore.get.sameSite_return_property
- api.CookieStore.get.secure_return_property
5 changes: 0 additions & 5 deletions features/cookie-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ compat_features:
- api.CookieStore.change_event
- api.CookieStore.delete
- api.CookieStore.get
- api.CookieStore.get.domain_return_property
- api.CookieStore.get.expires_return_property
- api.CookieStore.get.name_return_property
- api.CookieStore.get.path_return_property
- api.CookieStore.get.sameSite_return_property
- api.CookieStore.get.secure_return_property
- api.CookieStore.get.value_return_property
- api.CookieStore.getAll
- api.CookieStore.set
Expand Down
15 changes: 3 additions & 12 deletions features/cookie-store.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ status:
chrome: "87"
chrome_android: "87"
edge: "87"
firefox: "140"
firefox_android: "140"
compat_features:
# baseline: low
# baseline_low_date: 2025-06-24
Expand All @@ -33,6 +35,7 @@ compat_features:
- api.ServiceWorkerGlobalScope.cookieStore
- api.Window.cookieStore

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "87"
Expand All @@ -50,15 +53,3 @@ compat_features:
- api.ExtendableCookieChangeEvent.deleted
- api.ServiceWorkerGlobalScope.cookiechange_event
- api.ServiceWorkerRegistration.cookies

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "87"
# chrome_android: "87"
# edge: "87"
- api.CookieStore.get.domain_return_property
- api.CookieStore.get.expires_return_property
- api.CookieStore.get.path_return_property
- api.CookieStore.get.sameSite_return_property
- api.CookieStore.get.secure_return_property