sameSite errors on Stencil 3.3.0
Getting Cookie Errors on every request in Chrome. Hundreds of errors per page... that significantly delay console.log printing.
Tried installing Stencil in Node 12.0.0 and 12.22.0 Tested against fresh Cornerstone Theme. Still getting them.
In a separate issue, in our working theme, we just recently started getting errors in stencil CLI. Traced it to cookie.js in an old version of Stencil-Utils cookie warning code. Updated to Stencil-Utils 2.0.0, which seemed to address the issue, and silenced the error. Maybe related?
Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery. Resolve this issue by updating the attributes of the cookie: Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use. Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.