Non SameSite=None cookies are displayed as SameSite=None on Storage panel
Categories
(DevTools :: Storage Inspector, defect)
Tracking
(Not tracked)
People
(Reporter: koba0004, Unassigned)
Details
Attachments
(1 file)
1.19 MB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
I've set cookies with SameSite=None(foo) and without the SameSite(foo2) attribute and then confirmed the results on the Storage panel on the DeveloperTool.
- Access https://probable-oxidized-leather.glitch.me/ with Firefox 74
- Open Storage panel
- See the cookie value for probable-oxidized-leather.glitch.me
The source code of the site is here.
https://glitch.com/edit/#!/probable-oxidized-leather
Firefox Developer Edition(75.0b11) is also the same behavior.
Actual results:
Both cookies(foo and foo2) were displayed as SameSite=None.
Cookies displayed on the Network panel seem to be correct, only foo2 cookie is displayed as SameSite attribute is None.
See the attached file.
Expected results:
foo cookie shouldn't be displayed as SameSite=None.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
I might have misunderstood.
Is this cookie value a calculated value?
I guess that Firefox's default SameSite attribute is None
, so Developer Tool has shown None
even if the cookie attribute is not specified.
Is this correct?
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Hi, thanks for the report!
(In reply to koba0004 from comment #2)
I might have misunderstood.
Is this cookie value a calculated value?I guess that Firefox's default SameSite attribute is
None
, so Developer Tool has shownNone
even if the cookie attribute is not specified.
Is this correct?
Yes this is correct, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite . Especially the compatibility table at the end, you'll see that Firefox wants to default to Lax, but this only enabled on Nightly builds for now.
You can follow the progress of enabling Lax by default on Bug 1617609. It seems to be making progress.
Note that you can also flip the preference network.cookie.sameSite.laxByDefault
in about:config in order to test this locally.
Description
•