[whatwg/fetch] Layered Cookies integration (Issue #1826)

annevk created an issue (whatwg/fetch#1826)

### What is the issue with the Fetch Standard?

https://datatracker.ietf.org/doc/draft-ietf-httpbis-layered-cookies is the latest Cookies work at the IETF with the express goal of tackling https://github.com/httpwg/http-extensions/issues/2084.

#1807 is the first step towards integrating that with Fetch. This will solve #693. It should also solve part of Storage Access' needs (though the remainder of that API will still need upstreaming to HTML).

Then we have these remaining pieces that all need some detailed attention:

- [ ] Cookie Store API integration. In particular due to the Cookie Store API having events, this comes with some difficulty.
- [ ] `Clear-Site-Data` integration. This should be mostly straightforward work, but might require new hooks in the Cookies section (which the first step PR will introduce).
- [ ] Service Workers integration. I believe some work is required here still, though not entirely sure.

Ideally we ensure that there's sufficient test coverage at each incremental point.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1826
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1826@github.com>

Received on Monday, 19 May 2025 11:47:57 UTC