跳到主要内容

RenderProcessGoneDetails 对象

  • reason string - 渲染进程终止的原因。可能的值
    • clean-exit - 进程以退出码 0 正常退出
    • abnormal-exit - 进程以非零退出码异常退出
    • killed - 进程收到 SIGTERM 信号或被外部杀死
    • crashed - 进程崩溃
    • oom - 进程内存溢出
    • launch-failed - 进程未能成功启动
    • integrity-failure - Windows 代码完整性检查失败
  • exitCode Integer - 进程的退出码,除非 reasonlaunch-failed,此时 exitCode 将是平台特定的启动失败错误码。