foo-webview-sdk
    Preparing search index...

    Interface WebviewProcessFailedPayload

    Payload of the webview:processFailed event. A WebView2 process of this plugin failed. It is sent to every window; when the failure could not be recovered (recovered is false), the window whose WebView failed is left out.

    interface WebviewProcessFailedPayload {
        kind:
            | "browserProcessExited"
            | "renderProcessExited"
            | "renderProcessUnresponsive"
            | "frameRenderProcessExited"
            | "utilityProcessExited"
            | "sandboxHelperProcessExited"
            | "gpuProcessExited"
            | "ppapiPluginProcessExited"
            | "ppapiBrokerProcessExited"
            | "unknownProcessExited";
        kindRaw: number;
        recovered: boolean;
        recoveryAction: "none"
        | "reload"
        | "needRebuild";
    }
    Index
    kind:
        | "browserProcessExited"
        | "renderProcessExited"
        | "renderProcessUnresponsive"
        | "frameRenderProcessExited"
        | "utilityProcessExited"
        | "sandboxHelperProcessExited"
        | "gpuProcessExited"
        | "ppapiPluginProcessExited"
        | "ppapiBrokerProcessExited"
        | "unknownProcessExited"

    Which process failed; a kind this plugin does not know is reported as unknownProcessExited.

    kindRaw: number

    The COREWEBVIEW2_PROCESS_FAILED_KIND value WebView2 reported.

    recovered: boolean

    Whether the WebView is usable again: true after a render process was reloaded and for processes the runtime restarts by itself, false when the reload failed or the browser process exited.

    recoveryAction: "none" | "reload" | "needRebuild"

    What the plugin did: reload for a render process (see recovered for the outcome), needRebuild when the browser process exited and the WebView has to be created anew, none for processes the runtime restarts by itself.