Is there a way to detect 'Aw Snap' pages in Chrome and report to server side?

前端 未结 1 1601
自闭症患者
自闭症患者 2021-01-19 05:17

Is there a way to detect \'Aw Snap\' pages in Chrome and report to server side or a custom location with backtrace ?

1条回答
  •  一向
    一向 (楼主)
    2021-01-19 05:44

    "Aw Snap" happens when a Chrome process crashes. The page can't find out about that.

    It is possible to do this in an extension, though. The onExited event in the experimental processes API provides exitType, which can indicate when a process crashed. Currently, this API is only available in the dev channel of Chrome.

    0 讨论(0)
提交回复
热议问题