【问题标题】:Chrome dev-tools crashes when debugging iframe contentWindow调试 iframe contentWindow 时 Chrome 开发工具崩溃
【发布时间】:2017-01-11 21:43:25
【问题描述】:

我正在尝试调试 iframe 的 contentWindow,但每次我尝试在 chrome 59 dev-tools 上查看 contentWindow 对象时,页面都会崩溃。

contentWindow 属性悬停在断点上或单击控制台记录的对象时会发生这种情况。

我正在使用 ReactJS,所以我创建了一个反应小提琴,尽管我认为这无关紧要。

Fiddle to reproduce:

  1. 打开开发工具
  2. 点击“试用”
  3. 单击console.logged 对象。

有没有办法避免崩溃?

【问题讨论】:

  • 这似乎在 Canary 中已修复。我试图在跟踪器上找到一个关于它的错误,但还没有找到任何东西。

标签: javascript google-chrome iframe reactjs google-chrome-devtools


【解决方案1】:

由于新的context selection,这似乎已在 chrome 60 上得到修复。功能

【讨论】:

    猜你喜欢
    • 2019-03-03
    • 2011-03-17
    • 1970-01-01
    • 2012-09-23
    • 1970-01-01
    • 1970-01-01
    • 2016-02-27
    • 2017-04-02
    • 2013-04-24
    相关资源
    最近更新 更多