Skip to content

Commit 0249317

Browse files
committed
Add remarks to IDL docs
1 parent 75c0801 commit 0249317

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
@@ -120,6 +120,14 @@ interface ICoreWebView2Environment3 : ICoreWebView2Environment2
120120
/// A handler added with this method is called until removed with
121121
/// `remove_BrowserProcessExited`, even if a new browser process is bound to
122122
/// this environment after earlier `BrowserProcessExited` events are raised.
123+
///
124+
/// Note this is an event from the `ICoreWebView2Environment3` interface, not the
125+
/// `ICoreWebView2`. The difference between this `BrowserProcessExited` event and
126+
/// the `CoreWebView2`'s `ProcessFailed` event is that `BrowserProcessExited` is
127+
/// raised for any (expected and unexpected) **browser process** exits, while
128+
/// `ProcessFailed` is raised only for **unexpected** browser process exits, or for
129+
/// **render process** exits/unresponsiveness. To learn more about the WebView2
130+
/// Process Model, go to [Process model](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-model).
123131
HRESULT add_BrowserProcessExited(
124132
[in] ICoreWebView2BrowserProcessExitedEventHandler* eventHandler,
125133
[out] EventRegistrationToken* token);

0 commit comments

Comments
 (0)