【问题标题】:Uncaught DOMException: Failed to execute 'postMessage' on 'Window'未捕获的 DOMException:无法在“窗口”上执行“postMessage”
【发布时间】:2019-08-26 05:44:37
【问题描述】:

我遇到了错误

content-script.js:24 Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
    at Object.t.messageJumpContext (chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/content-script.js:24:9921)
    at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/content-script.js:24:8583

我没有在代码中的任何地方使用 window.postMessage。知道为什么会这样吗?

【问题讨论】:

    标签: angular window postmessage


    【解决方案1】:

    这是 Augury Chrome 扩展中的一个问题

    通过右键单击扩展程序图标并选择“当您单击扩展程序”选项来防止此扩展程序与所有站点一起使用,可以读取和更改站点数据子菜单

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-10-25
      • 2021-01-05
      • 2019-08-16
      • 1970-01-01
      • 2022-06-17
      • 1970-01-01
      • 1970-01-01
      • 2018-03-06
      相关资源
      最近更新 更多