Skip to content

Commit

Permalink
Add section on (lack of) interaction with Storage Access API permissi…
Browse files Browse the repository at this point in the history
…ons. (#42)

Co-authored-by: Dylan Cutler <[email protected]>
  • Loading branch information
cfredric and DCtheTall authored Jun 16, 2022
1 parent 8b03240 commit 074e958
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ For more information about the design of the Origin-Trial, see the [documentatio
- [Limit the number of cookies a third party can use in a single partition](#limit-the-number-of-cookies-a-third-party-can-use-in-a-single-partition)
- [Clearing partitioned cookies](#clearing-partitioned-cookies)
- [CookieStore API](#cookiestore-api)
- [Storage Access API](#storage-access-api)
- [Handling older or incompatible clients](#handling-older-or-incompatible-clients)
- [Memory impact](#memory-impact)
- [Service workers](#service-workers)
Expand Down Expand Up @@ -500,6 +501,10 @@ We propose modest changes to the [CookieStore API](https://wicg.github.io/cookie
This will allow callers of [`CookieStore.delete`](https://wicg.github.io/cookie-store/#CookieStore-delete) to specify whether they want to delete a `partitioned` cookie.
If the field is not present, it will default to `false`.

### Storage Access API

Partitioned cookies should be accessible regardless of any choices the user has made via the Storage Access API in the given context. Even if the user has rejected or dismissed a prompt for storage access then partitioned cookies should still be accessible (partitioned LocalStorage will still be available in such a context, so blocking access to partitioned cookies would have no effect on user privacy).

### Handling older or incompatible clients

The new cookie attribute will be ignored on older clients that don't recognize it and fall back to default behavior.
Expand Down

0 comments on commit 074e958

Please sign in to comment.