Retrieve and handle cookies from both unpartitioned and partitioned cookie jars
Categories
(DevTools :: Storage Inspector, task)
Tracking
(firefox135 fixed)
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 external file)
From https://phabricator.services.mozilla.com/D210169:
we need to change the way how we get cookies because CHIPS changes the availability of partitioned and unpartitioned cookies to documents.
if the same cookie gets set to partitioned and unpartitioned cookie jars. For example, the document sets bothabc=123andabc=123; Partitioned; Secure; SameSite=None, we should have two entries on the cookie panel
Note that editing and removing cookie from the UI should also manipulate the cookie from the correct cookie jar
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Hello Tim, can you check https://phabricator.services.mozilla.com/D210169#7562778 please?
Updated•2 years ago
|
Currently (even without CHIPS and the partitioned flag), it seems like that only the partitioned cookies are shown in the Storage Inspector and the top-level cookies are not accessible at all.
Steps:
- Set a cookie here: https://storage-access-api-demo.glitch.me/
foo=top-level - Visit https://storage-access-api-demo-site-b.glitch.me/
- Open storage tools and go to the storage-access-api-demo.glich.me entry: it is empty
- Click on refresh cookies on the page and allow the SAA grant: now
foo=top-levelshould be visible in the iframe - Refresh the cookie panel: still empty
- Add a cookie there:
foo=partitioned: displayed in the cookie panel - Click on refresh cookies on the page: now
foo=top-level;foo=partitionedshould be visible in the iframe - The cookie panel still only has the
foo=partitionedcookie
It would be great to show both sets of cookies and maybe display the top-level set greyed-out or something similar if they are not accessible (if SAA was not (yet) granted).
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•