【问题标题】:Why am i getting this? [duplicate]为什么我会得到这个? [复制]
【发布时间】:2019-11-26 06:46:38
【问题描述】:

我在我的网站上使用 aframe 收到此警告

A cookie associated with a cross-site resource at http://aframe.io/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

【问题讨论】:

  • 需要详细说明。最好的方法是分享一个链接到一个简单的 A-Frame 页面来重现该问题。 Glitch 通常是一个不错的选择:glitch.com/~aframe

标签: aframe


【解决方案1】:

好的,我从here 得到了答案,这是 aframe.io 的问题

A cookie associated with a cross-site resource was set without the `SameSite` attribute

如@rowan_m 所述

警告消息专门指出了负责 cookie 的域。在这种情况下,它是aframe.io。这意味着“aframe.io”需要在那里更新 cookie。

https://web.dev/samesite-cookies-explained

https://web.dev/samesite-cookie-recipes.

【讨论】:

    猜你喜欢
    • 2022-12-06
    • 1970-01-01
    • 1970-01-01
    • 2020-05-02
    • 1970-01-01
    • 1970-01-01
    • 2019-10-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多