Skip to content

Commit c435b13

Browse files
author
Wangsong Jin
committed
Update FrameProcessInfo.md
1 parent 4816275 commit c435b13

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

specs/FrameProcesssInfo.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Frame Process Info API
55
Management of performance and overhead are some of the top concerns with
66
applications building more complex experiences using WebView2. We’re seeing
77
applications use multiple WebView2s, iframes, fencedframes, or other
8-
embedding techniques for different aspects of their users experience, and
8+
embedding techniques for different aspects of their user's experience, and
99
needing to prioritize or deprioritize the less important experiences depending
1010
on what the user is doing. This is similar to how the browser needs to
1111
understand the impact of each tab in order to ensure that the background tabs
@@ -14,8 +14,8 @@ don’t cause a major impact on the user’s experience in the foreground tab.
1414
We provide the `GetProcessInfos` API for host applications to understand which
1515
processes are part of their WebView2s. That API provides enough information for
1616
a host application to understand the overall performance impact(memory, CPU
17-
usage, etc.) of WebView2 on their application or the users device, but it
18-
doesnt provide the granularity needed for the host application to know which
17+
usage, etc.) of WebView2 on their application or the user's device, but it
18+
doesn't provide the granularity needed for the host application to know which
1919
part of WebView2 is consuming those resources.
2020

2121
In this document we describe the updated API. We'd appreciate your feedback.
@@ -36,14 +36,14 @@ renderer process.
3636

3737
* We propose extending `CoreWebView2` and `CoreWebView2Frame` to include
3838
the `FrameId` property. This property represents the unique identifier of
39-
the frame running in this webview or webview frame.
39+
the frame running in this WebView2 or WebView2Frame.
4040

4141
* We propose extending `CoreWebView2FrameInfo` to include `FrameId` and
4242
`ParentFrameInfo` properties. `FrameId` is the same kind of ID as with
4343
`FrameID` in `CoreWebView2` and `CoreWebView2Frame`. `ParentFrameInfo`
44-
supports to retrive a frame's direct parent, corresponding parent frame
45-
in the first level and corresponding main frame. This also can be used
46-
to build the architecture of the frame tree with represent by `FrameInfo`.
44+
supports to retrive a frame's direct parent, ancestor first level frame
45+
and ancestor main frame. This also can be used to build the architecture
46+
of the frame tree with represent by `FrameInfo`.
4747

4848
# Examples
4949
C++

0 commit comments

Comments
 (0)