Skip to content

Split nonstandard properties from cookie-store feature - #4189

Open
jgraham wants to merge 1 commit into
mainfrom
cookie_store
Open

Split nonstandard properties from cookie-store feature#4189
jgraham wants to merge 1 commit into
mainfrom
cookie_store

Conversation

@jgraham

@jgraham jgraham commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Getting cookie metadata from CookieStore.get was removed from the specification, since it creates new compatibility problems (browsers lose freedom to override the metadata) and potential new privacy problems (since it provides access to data that wasn't previously available via document.cookie).

Put these properties into a new discouraged feature.

@jgraham
jgraham requested review from captainbrosset and ddbeck July 16, 2026 11:30
@github-actions github-actions Bot added the feature definition Creating or defining new features or groups of features. label Jul 16, 2026
Getting cookie metadata from CookieStore.get was removed from the
specification, since it creates new compatibility problems (browsers
lose freedom to override the metadata) and potential new privacy
problems (since it provides access to data that wasn't previously
available via document.cookie).

Put these properties into a new discouraged feature.
@@ -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.

@@ -0,0 +1,13 @@
name: Cookie store get metadata
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants