返回 DeepSeek-Reasonix
COREWEBVIEW2_PROCESS_FAILED_KIND.go
根目录 / desktop / third_party / go-webview2 / pkg / edge / COREWEBVIEW2_PROCESS_FAILED_KIND.go
1 //go:build windows
2
3 package edge
4
5 type COREWEBVIEW2_PROCESS_FAILED_KIND uint32
6
7 const (
8 // Indicates that the browser process ended unexpectedly. The WebView
9 // automatically moves to the Closed state. The app has to recreate a new
10 // WebView to recover from this failure.
11 COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED = 0
12
13 // Indicates that the main frame's render process ended unexpectedly. A new
14 // render process is created automatically and navigated to an error page.
15 // You can use the `Reload` method to try to reload the page that failed.
16 COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED = 1
17
18 // Indicates that the main frame's render process is unresponsive.
19 //
20 // Note that this does not seem to work right now.
21 // Does not fire for simple long running script case, the only related test
22 // SitePerProcessBrowserTest::NoCommitTimeoutForInvisibleWebContents is
23 // disabled.
24 COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE = 2
25
26 // Indicates that a frame-only render process ended unexpectedly. The process
27 // exit does not affect the top-level document, only a subset of the
28 // subframes within it. The content in these frames is replaced with an error
29 // page in the frame.
30 COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED = 3
31
32 // Indicates that a utility process ended unexpectedly.
33 COREWEBVIEW2_PROCESS_FAILED_KIND_UTILITY_PROCESS_EXITED = 4
34
35 // Indicates that a sandbox helper process ended unexpectedly.
36 COREWEBVIEW2_PROCESS_FAILED_KIND_SANDBOX_HELPER_PROCESS_EXITED = 5
37
38 // Indicates that the GPU process ended unexpectedly.
39 COREWEBVIEW2_PROCESS_FAILED_KIND_GPU_PROCESS_EXITED = 6
40
41 // Indicates that a PPAPI plugin process ended unexpectedly.
42 COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_PLUGIN_PROCESS_EXITED = 7
43
44 // Indicates that a PPAPI plugin broker process ended unexpectedly.
45 COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_BROKER_PROCESS_EXITED = 8
46
47 // Indicates that a process of unspecified kind ended unexpectedly.
48 COREWEBVIEW2_PROCESS_FAILED_KIND_UNKNOWN_PROCESS_EXITED = 9
49 )
50
50 lines GO