Edge Chromium给出了无法从'Window'读取'localStorage'属性的情况:对该文档的访问被拒绝

问题描述 投票:0回答:1

我正在尝试将Google Data Studio报表嵌入到静态网站的iframe中。打开该静态站点时,在Edge Chromium 83.0.478.37中,我收到此错误,并且不会出现数据工作室报告。这是Edge Chromium的干净默认安装,而未修改任何设置。

Tracking Prevention blocked access to storage for https://datastudio.google.com/embed/reporting/<urlofreport>.

error:
datastudio__en.js?cb=312620414:3587 ERROR DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

我发现this information,但是在我的Edge Chromium中,该设置被禁用:Disabled block third-party cookies。似乎可行的方法是,在“边缘设置”的“隐私和服务”标签中为嵌入iframe的域添加一个例外。这似乎是不必要的,尤其是当同一静态站点在Chrome,Safari,Opera和Firefox的最新版本上均可工作时。当Data Studio支持suggests使用最新的Edge时,似乎也没有必要。直接在标签中打开Data Studio报表时,我没有收到此错误]

我正在尝试将Google Data Studio报表嵌入到静态网站的iframe中。当打开该静态站点时,在Edge Chromium 83.0.478.37中,我收到此错误,而Data Studio报告没有...

microsoft-edge google-data-studio
1个回答
0
投票

我已经使用Microsoft Edge Chromium 83.0.478.37版本测试了我的simple example。如果我们使用F12开发人员工具进行检查,则可以在“控制台”选项卡中看到它包含多个阻止跟踪阻止的警告和错误消息。

© www.soinside.com 2019 - 2024. All rights reserved.