Skip to content

Commit 16328cd

Browse files
authored
Update MultiProfile.md
1 parent f8e3784 commit 16328cd

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

specs/MultiProfile.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,10 @@ interface ICoreWebView2ControllerOptions : IUnknown {
162162
/// * digit characters: 0-9
163163
/// * and '#', '@', '$', '(', ')', '+', '-', '_', '~', '.', ' ' (space).
164164
///
165-
/// Note: the text must not end with a period '.' or ' ' (space) nor start with a ' ' (space). And, although upper case letters are
166-
/// allowed, they're treated the same as their lower case counterparts because the profile name will be mapped to
167-
/// the real profile directory path on disk and Windows file system handles path names in a case-insensitive way.
165+
/// Note: the text must not end with a period '.' or ' ' (space) nor start with a ' ' (space). And, although upper
166+
/// case letters are allowed, they're treated the same as their lower case counterparts because the profile name
167+
/// will be mapped to the real profile directory path on disk and Windows file system handles path names in a
168+
/// case-insensitive way.
168169
[propget] HRESULT ProfileName([out, retval] LPWSTR* value);
169170
/// Sets the `ProfileName` property.
170171
[propput] HRESULT ProfileName([in] LPCWSTR value);
@@ -184,6 +185,9 @@ interface ICoreWebView2ControllerOptions : IUnknown {
184185
/// If create a WebView2Controller with {ProfileName="name", InPrivate=false} and then later create another one with
185186
/// one with {ProfileName="name", InPrivate=true}, these two controllers using the same profile would be allowed to
186187
/// run at the same time.
188+
/// As WebView2 is built on top of Edge browser, it follows Edge's behavior pattern. To create an InPrivate WebView,
189+
/// we gets an off-the-record profile (an InPrivate profile) from a regular profile, then create the WebView with the
190+
/// off-the-record profile.
187191
[uuid(57FD205C-39D5-4BA1-8E7B-3E53C323EA87), object, pointer_default(unique)]
188192
interface ICoreWebView2Environment5 : IUnknown {
189193
/// Create a new ICoreWebView2ControllerOptions to be passed as a parameter of
@@ -210,9 +214,10 @@ interface ICoreWebView2Environment5 : IUnknown {
210214
/// Used to get ICoreWebView2Profile object.
211215
[uuid(6E5CE5F0-16E6-4A05-97D8-4E256B3EB609), object, pointer_default(unique)]
212216
interface ICoreWebView2_7 : IUnknown {
213-
/// The associated `ICoreWebView2Profile` object. If this CoreWebView2 was created with a CoreWebView2ControllerOptions, the
214-
/// CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a
215-
/// CoreWebView2ControllerOptions, then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment.
217+
/// The associated `ICoreWebView2Profile` object. If this CoreWebView2 was created with a
218+
/// CoreWebView2ControllerOptions, the CoreWebView2Profile will match those specified options.
219+
/// Otherwise if this CoreWebView2 was created without a CoreWebView2ControllerOptions, then
220+
/// this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment.
216221
[propget] HRESULT Profile([out, retval] ICoreWebView2Profile** value);
217222
}
218223

0 commit comments

Comments
 (0)