Skip to content

Commit 7b1afb8

Browse files
committed
Update ProcessFailed remarks
1 parent 35271c5 commit 7b1afb8

1 file changed

Lines changed: 21 additions & 18 deletions

File tree

specs/BrowserProcessExited.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,13 @@ void ReinitializeWebView()
263263

264264
# Remarks
265265
Note this is an event from `CoreWebView2Environment`, not `CoreWebView2`. The
266-
difference between this `BrowserProcessExited` event and the `CoreWebView2`'s
267-
`ProcessFailed` event is that `BrowserProcessExited` is raised for any (expected
268-
and unexpected) **browser process** (along its associated processes) exits,
269-
while `ProcessFailed` is raised only for **unexpected** browser process exits,
270-
or for **render process** exits/unresponsiveness. To learn more about the
271-
WebView2 Process Model, go to [Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
266+
difference between `BrowserProcessExited` and `CoreWebView2`'s `ProcessFailed`
267+
is that `BrowserProcessExited` is raised for any **browser process** exit
268+
(expected or unexpected, after all associated processes have exited too), while
269+
`ProcessFailed` is raised for **unexpected** process exits of any kind (browser,
270+
render, GPU, and all other types), or for main frame **render process**
271+
unresponsiveness. To learn more about the WebView2 Process Model, go to
272+
[Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
272273

273274
In the case the browser process crashes, both `BrowserProcessExited` and
274275
`ProcessFailed` events are raised, but the order is not guaranteed.
@@ -322,13 +323,14 @@ interface ICoreWebView2Environment3 : ICoreWebView2Environment2
322323
/// one process should not clear the user data folder at the same time that another
323324
/// process recovers from a crash by recreating its WebView controls.
324325
///
325-
/// Note this is an event from the `ICoreWebView2Environment3` interface, not the
326-
/// `ICoreWebView2`. The difference between this `BrowserProcessExited` event and
327-
/// the `ICoreWebView2`'s `ProcessFailed` event is that `BrowserProcessExited` is
328-
/// raised for any (expected and unexpected) **browser process** (along its
329-
/// associated processes) exits, while `ProcessFailed` is raised only for
330-
/// **unexpected** browser process exits, or for **render process**
331-
/// exits/unresponsiveness. To learn more about the WebView2 Process Model, go to
326+
/// Note this is an event from the `ICoreWebView2Environment3` interface, not
327+
/// the `ICoreWebView2` one. The difference between `BrowserProcessExited` and
328+
/// `ICoreWebView2`'s `ProcessFailed` is that `BrowserProcessExited` is
329+
/// raised for any **browser process** exit (expected or unexpected, after all
330+
/// associated processes have exited too), while `ProcessFailed` is raised for
331+
/// **unexpected** process exits of any kind (browser, render, GPU, and all
332+
/// other types), or for main frame **render process** unresponsiveness. To
333+
/// learn more about the WebView2 Process Model, go to
332334
/// [Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
333335
///
334336
/// In the case the browser process crashes, both `BrowserProcessExited` and
@@ -404,11 +406,12 @@ namespace Microsoft.Web.WebView2.Core
404406
/// process recovers from a crash by recreating its WebView controls.
405407
///
406408
/// Note this is an event from `CoreWebView2Environment`, not `CoreWebView2`. The
407-
/// difference between this `BrowserProcessExited` event and the `CoreWebView2`'s
408-
/// `ProcessFailed` event is that `BrowserProcessExited` is raised for any (expected
409-
/// and unexpected) **browser process** (along its associated processes) exits, while
410-
/// `ProcessFailed` is raised only for **unexpected** browser process exits, or for
411-
/// **render process** exits/unresponsiveness. To learn more about the WebView2
409+
/// difference between `BrowserProcessExited` and `CoreWebView2`'s
410+
/// `ProcessFailed` is that `BrowserProcessExited` is raised for any **browser process** exit
411+
/// (expected or unexpected, after all associated processes have exited too), while
412+
/// `ProcessFailed` is raised for **unexpected** process exits of any kind (browser,
413+
/// render, GPU, and all other types), or for main frame **render process**
414+
/// unresponsiveness. To learn more about the WebView2
412415
/// Process Model, go to [Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
413416
///
414417
/// In the case the browser process crashes, both `BrowserProcessExited` and

0 commit comments

Comments
 (0)