@@ -5,7 +5,7 @@ Frame Process Info API
55Management of performance and overhead are some of the top concerns with
66applications building more complex experiences using WebView2. We’re seeing
77applications use multiple WebView2s, iframes, fencedframes, or other
8- embedding techniques for different aspects of their user’ s experience, and
8+ embedding techniques for different aspects of their user' s experience, and
99needing to prioritize or deprioritize the less important experiences depending
1010on what the user is doing. This is similar to how the browser needs to
1111understand 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.
1414We provide the ` GetProcessInfos ` API for host applications to understand which
1515processes are part of their WebView2s. That API provides enough information for
1616a host application to understand the overall performance impact(memory, CPU
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
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
1919part of WebView2 is consuming those resources.
2020
2121In 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
3838the ` 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
4949C++
0 commit comments