Skip to content

Commit 64ea0f0

Browse files
committed
Update .NET/WinRT API definition
1 parent de32a21 commit 64ea0f0

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

specs/ExtendedProcessFailed.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ namespace Microsoft.Web.WebView2.Core
554554
/// `CoreWebView2ProcessFailedEventArgs`.
555555
/// The values in this enum make reference to the process kinds in the
556556
/// Chromium architecture. For more information about what these processes
557-
/// are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1)
557+
/// are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1).
558558
enum CoreWebView2ProcessFailedKind
559559
{
560560
// Existing stable values
@@ -566,7 +566,7 @@ namespace Microsoft.Web.WebView2.Core
566566
BrowserProcessExited,
567567
/// Indicates that the main frame's render process ended unexpectedly. A new
568568
/// render process is created automatically and navigated to an error page.
569-
/// You can use the Reload method to try to reload the page that failed.
569+
/// You can use the `Reload` method to try to reload the page that failed.
570570
RenderProcessExited,
571571
/// Indicates that the main frame's render process is unresponsive.
572572
RenderProcessUnresponsive,
@@ -601,8 +601,8 @@ namespace Microsoft.Web.WebView2.Core
601601
/// The process became unresponsive.
602602
/// This only applies to the main frame's render process.
603603
Unresponsive,
604-
/// The process was killed. For example, from Task Manager.
605-
Killed,
604+
/// The process was terminated. For example, from Task Manager.
605+
Terminated,
606606
/// The process crashed.
607607
Crashed,
608608
/// The process failed to launch.
@@ -632,37 +632,37 @@ namespace Microsoft.Web.WebView2.Core
632632
/// values.
633633
CoreWebView2ProcessFailedReason Reason { get; };
634634

635-
/// The exit code of the failing process. The exit code is always `1` when
636-
/// `ProcessFailedKind` is
635+
/// The exit code of the failing process, for telemetry purposes. The
636+
/// exit code is always `1` when `ProcessFailedKind` is
637637
/// `CoreWebView2ProcessFailedKind.BrowserProcessExited`, and
638638
/// `STILL_ACTIVE` (`259`) when `ProcessFailedKind` is
639639
/// `CoreWebView2ProcessFailedKind.RenderProcessUnresponsive`.
640640
Int32 ExitCode { get; };
641641

642642
/// Description of the process assigned by the WebView2 Runtime. This is a
643643
/// technical English term appropriate for logging or development purposes,
644-
/// and not localized for the end user. It applies to utility processes (for example,
645-
/// "Audio Service" or "Video Capture") and plugin processes (for example, "Flash").
646-
/// The returned string is `null` if the WebView2 Runtime did
647-
/// not assign a description to the process.
644+
/// and not localized for the end user. It applies to utility processes (for
645+
/// example, "Audio Service", "Video Capture") and plugin processes (for
646+
/// example, "Flash"). The returned string is empty if the WebView2 Runtime
647+
/// did not assign a description to the process.
648648
String ProcessDescription { get; };
649649

650-
/// The list of frames in the `CoreWebView2` that were being rendered by the
650+
/// The collection of frames in the `CoreWebView2` that were being rendered by the
651651
/// failed process. The content in these frames is replaced with an error page.
652652
/// This is only available when `ProcessFailedKind` is
653653
/// `CoreWebView2ProcessFailedKind.FrameRenderProcessExited`;
654-
/// it is `null` for all other process failure kinds, including the case
654+
/// it is empty for all other process failure kinds, including the case
655655
/// in which the failed process was the renderer for the main frame and
656656
/// subframes within it, for which the failure kind is
657657
/// `CoreWebView2ProcessFailedKind.RenderProcessExited`.
658-
IVectorView<CoreWebView2FrameInfo> ImpactedFramesInfo { get; };
658+
IVectorView<CoreWebView2FrameInfo> FrameInfosForFailedProcess { get; };
659659
}
660660

661661
/// Provides a set of properties for a frame in the `CoreWebView2`.
662662
runtimeclass CoreWebView2FrameInfo
663663
{
664664
/// The name attribute of the frame, as in `<iframe name="frame-name" ...>`.
665-
/// This is `null` when the frame has no name attribute.
665+
/// The returned string is empty when the frame has no name attribute.
666666
String Name { get; };
667667

668668
/// The URI of the document in the frame.

0 commit comments

Comments
 (0)