Skip to content

Commit cf65df0

Browse files
committed
Add remarks to idl3 docs
1 parent 0249317 commit cf65df0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

specs/BrowserProcessExited.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,14 @@ namespace Microsoft.Web.WebView2.Core
181181
/// `WebView2 Runtime` associated to this `CoreWebView2Environment`
182182
/// terminates due to an error or normal shutdown (e.g., when all its
183183
/// WebViews are closed).
184+
///
185+
/// Note this is an event from `CoreWebView2Environment`, not the
186+
/// `CoreWebView2`. The difference between this `BrowserProcessExited` event and
187+
/// the `CoreWebView2`'s `ProcessFailed` event is that `BrowserProcessExited` is
188+
/// raised for any (expected and unexpected) **browser process** exits, while
189+
/// `ProcessFailed` is raised only for **unexpected** browser process exits, or for
190+
/// **render process** exits/unresponsiveness. To learn more about the WebView2
191+
/// Process Model, go to [Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
184192
event Windows.Foundation.TypedEventHandler<CoreWebView2Environment, CoreWebView2BrowserProcessExitedEventArgs> BrowserProcessExited;
185193
}
186194

0 commit comments

Comments
 (0)