Cookie “cookietest” does not have a proper “SameSite” attribute value
Author: tenzapCreated Dec 12, 2024Updated Dec 12, 2024
Type of bug
- Differences between Can I use & Modernizr
- False positive
- Modernizr error
Describe the bug
On firefox esr 128.5.0esr, I'm seeing this warning in the developer console:
Some cookies are misusing the recommended “SameSite“ attribute 2
Cookie “cookietest” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSiteHow to Reproduce Open a webpage that references modernizr.min.js
Version of modernizr 1.13.0 3.13.0 (EDITED)
Source: Modernizr/Modernizr