Skip to content

Commit 8e027b7

Browse files
committed
Replace sad face -> error page
1 parent 97eb2e6 commit 8e027b7

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

specs/ExtendedProcessFailed.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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 a "sad face" layer).
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).
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:
@@ -398,8 +398,8 @@ typedef enum COREWEBVIEW2_PROCESS_FAILED_KIND {
398398

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
401-
/// subframes within it. The content in these frames is replaced with a "sad
402-
/// face" layer.
401+
/// subframes within it. The content in these frames is replaced with an error
402+
/// page in the frame.
403403
COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED,
404404

405405
/// Indicates that a utility process ended unexpectedly.
@@ -490,8 +490,7 @@ interface ICoreWebView2ProcessFailedEventArgs2 : IUnknown {
490490
[out, retval] LPWSTR* processDescription);
491491

492492
/// The list of frames in the `CoreWebView2` that were being rendered by the
493-
/// failed process. The content in these frames is replaced with a "sad face"
494-
/// layer.
493+
/// failed process. The content in these frames is replaced with an error page.
495494
/// This is only available when `ProcessFailedKind` is
496495
/// `COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED`;
497496
/// `frames` is `null` for all other process failure kinds, including the case
@@ -574,8 +573,8 @@ namespace Microsoft.Web.WebView2.Core
574573
575574
/// Indicates that a frame-only render process ended unexpectedly. The process
576575
/// exit does not impact the top-level document, only a subset of the
577-
/// subframes within it. The content in these frames is replaced with a "sad
578-
/// face" layer.
576+
/// subframes within it. The content in these frames is replaced with an
577+
/// error page in the frame.
579578
FrameRenderProcessExited,
580579
/// Indicates that a utility process ended unexpectedly.
581580
UtilityProcessExited,
@@ -647,8 +646,7 @@ namespace Microsoft.Web.WebView2.Core
647646
String ProcessDescription { get; };
648647

649648
/// The list of frames in the `CoreWebView2` that were being rendered by the
650-
/// failed process. The content in these frames is replaced with a "sad face"
651-
/// layer.
649+
/// failed process. The content in these frames is replaced with an error page.
652650
/// This is only available when `ProcessFailedKind` is
653651
/// `CoreWebView2ProcessFailedKind.FrameRenderProcessExited`;
654652
/// it is `null` for all other process failure kinds, including the case

0 commit comments

Comments
 (0)