Skip to content

Conversation

yoavweiss
Copy link
Contributor

@yoavweiss yoavweiss commented Aug 11, 2025

To accompany httpwg/http-extensions#3153, this renames the __HostHttp- prefix for the cookie store, making it __Host-Http-.
This makes it easier to deploy this to non-supporting browsers while not losing the characteristics that __Host- provides.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Could you fill out the template as well? It's okay to point to existing bugs if they're not yet fixed. In those cases we should add a comment.

Co-authored-by: Anne van Kesteren <[email protected]>
annevk pushed a commit to httpwg/http-extensions that referenced this pull request Aug 12, 2025
While a bit uglier, this makes it easier to deploy this to non-supporting browsers while not losing the characteristics that `__Host-` provides.

Tested in web-platform-tests/wpt#54226. Relevant Cookie Store API changes in whatwg/cookiestore#286.
@annevk annevk merged commit c0d2bb7 into whatwg:main Aug 12, 2025
2 checks passed
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 14, 2025
As discussed at https://groups.google.com/a/chromium.org/g/blink-dev/c/WsXlDO6oO2E/m/ApG8wQCkAQAJ, this renames the __HostHttp- cookie
prefix to make it easier to deploy before support for it becomes
ubiquitous. That way, developers can rename their cookies from
`__Host-something` to `__Host-Http-something` without losing their
host-scope semantics.

Spec PRs: httpwg/http-extensions#3153 and
whatwg/cookiestore#286

Change-Id: Ibef7870914618e54d16b3ff16ccb8946db32bb76
Bug: 437940200
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6839519
Reviewed-by: Dylan Cutler <[email protected]>
Commit-Queue: Yoav Weiss (@Shopify) <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1501411}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants