Skip to content

Commit f43aa00

Browse files
committed
Apply review changes to doc
1 parent b6a0ef1 commit f43aa00

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

specs/ExtendedProcessFailed.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ The updated API is detailed below. We'd appreciate your feedback.
88

99
# Description
1010
We propose to add new cases for which the `ProcessFailed` event is raised:
11-
1. When a frame-only render process fails. Only subframes within the `CoreWebView2` are impacted in this case (the content is gone and replaced with an error page).
11+
1. When a frame-only render process fails. Only subframes within the `CoreWebView2` are affected in this case (the content is gone and replaced with an error page).
1212
2. When a WebView2 Runtime child process other than the browser process or a render process fails. The app can use these process failures for logging and telemetry purposes.
1313

1414
We also propose extending the `ProcessFailedEventArgs` to provide additional information about the process failure:
1515
* Reason of the failure.
1616
* Exit code.
1717
* Process description.
18-
* Impacted frames for (1) above.
18+
* Affected frames for (1) above.
1919

2020

2121
# Examples
22-
The following code snippets demonstrate how the `ProcessFailedEventArgs2` can be used by the host application:
22+
The following code snippets demonstrate how the updated `ProcessFailedEventArgs` can be used by the host application:
2323

2424
## Win32 C++
2525
```cpp
@@ -350,7 +350,7 @@ async void WebView_ProcessFailed(CoreWebView2 sender, CoreWebView2ProcessFailedE
350350

351351

352352
# Remarks
353-
* `ProcessFailedKind` in the event args will be `RENDER_PROCESS_EXITED` if the failed process is the main frame's renderer, even if there were subframes rendered by such process. All frames are gone when this happens and `ImpactedFrames` will be `null` as the attribute is intended for frame-only renderer failures only.
353+
* `ProcessFailedKind` in the event args will be `RENDER_PROCESS_EXITED` if the failed process is the main frame's renderer, even if there were subframes rendered by such process. All frames are gone when this happens and `FrameInfosForFailedProcess` will be `null` as the attribute is intended for frame-only renderer failures only.
354354

355355
* `Reason` in the event args is always `UNEXPECTED` when `ProcessFailedKind` is `BROWSER_PROCESS_EXITED`, and `UNRESPONSIVE` when `ProcessFailedKind` is `RENDER_PROCESS_UNRESPONSIVE`.
356356

@@ -395,7 +395,7 @@ typedef enum COREWEBVIEW2_PROCESS_FAILED_KIND {
395395
COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE,
396396

397397
// New values.
398-
398+
399399
/// Indicates that a frame-only render process ended unexpectedly. The process
400400
/// exit does not impact the top-level document, only a subset of the
401401
/// subframes within it. The content in these frames is replaced with an error

0 commit comments

Comments
 (0)