You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: microsoft-edge/webview2/concepts/webview-features-flags.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
6
6
ms.topic: conceptual
7
7
ms.service: microsoft-edge
8
8
ms.subservice: webview
9
-
ms.date: 05/29/2024
9
+
ms.date: 03/10/2025
10
10
---
11
11
# WebView2 browser flags
12
12
@@ -104,11 +104,13 @@ The following are some of the flags we've seen used.
104
104
|`incognito`| Forces Incognito mode even if user data directory is specified by using the `--user-data-dir` flag. |
105
105
|`isolate-origins`| Require dedicated processes for a set of origins, specified as a comma-separated list. For example: --isolate-origins=https://www.foo.com,https://www.bar.com.|
106
106
|`js-flags`| Specifies the flags passed to JS engine. |
107
+
|`--js-flags=--scavenger_max_new_space_capacity_mb=8`| This flag specifies the maximum limit (in MB) for scavenger (minor garbage collector) in V8. <br/>A higher scavenger memory limit reduces the frequency of minor garbage collectors, but increases memory usage. <br/>A lower limit reduces memory footprint, but increases garbage collectors frequency, which may impact performance. |
107
108
|`lang`| The language file that WebView2 want to try to open. Of the form language[-country] where language is the 2-letter code from ISO-639. |
108
109
|`log-net-log`| Enables saving net log events to a file. If a value is given, that value is used as the directory path and file name. If no value is given, the file is named `netlog.json`, and is placed in the user data directory. |
109
110
|`msAbydos`| Enables the "handwriting-to-text" experience. |
110
111
|`msAbydosGestureSupport`| Allows users to use gestures (such as the scratchout gesture) to delete text by using a pen. Valid only if the `msAbydos` flag is enabled. |
111
112
|`msAbydosHandwritingAttr`| Whether the "handwriting-to-text" experience is enabled for input elements at the DOM level. Valid only if the `msAbydos` flag is enabled. |
113
+
|`msAllowAmbientAuthInPrivateWebView2`| This flag is to be used along with the `msSingleSignOnForInPrivateWebView2` browser browser flag, to enable SSO with default credential flow or ambient authentication flow. |
112
114
|`msEdgeDesignerUI`| Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
113
115
|`msEdgeHubAppDesigner `| Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
114
116
|`msEdgeDesignerDriverFix `| Use this flag to disable getting content and automatically showing the Designer feature. This feature is not supported in WebView2. |
@@ -121,6 +123,7 @@ The following are some of the flags we've seen used.
121
123
|`msFloatyShouldHonorIndiaHoldout`| If `true`, honors the India holdout group. Use this flag, set to `false`, to disable the Floaty feature that's enabled if the user is part of the India holdout group, because WebView doesn't support browser retention experiments. |
122
124
|`msOverlayScrollbarWinStyle`| Whether the users can change between overlay and non-overlay modes for Fluent scrollbars. |
123
125
|`msPdfEnableAsPreview`| This features enables the PDF viewer to launch with a minimal toolbar and in read-only preview mode. |
126
+
|`msSingleSignOnForInPrivateWebView2`| This flag enables the single sign-on (SSO) flow for incognito/private session<!-- todo: InPrivate? --> of WebView2. Browser-based SSO should seamlessly work in incognito<!-- todo: InPrivate? --> mode after enabling this flag. |
124
127
|`msSingleSignOnOSForPrimaryAccountIsShared`| If enabled, allows implicit sign-in to Microsoft webpages using any account, by using the information from the primary OS account. |
125
128
|`msSmartScreenProtection`| If enabled, SmartScreen protection will be available. |
126
129
|`msUseSpellCheckCorrectionsCard`| If enabled, a new corrections card UI is shown when the user clicks a misspelled word. |
0 commit comments