Skip to content

Commit 96711e0

Browse files
committed
3 new rows
1 parent 301744f commit 96711e0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

microsoft-edge/webview2/concepts/webview-features-flags.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: webview
9-
ms.date: 05/29/2024
9+
ms.date: 03/10/2025
1010
---
1111
# WebView2 browser flags
1212

@@ -104,11 +104,13 @@ The following are some of the flags we've seen used.
104104
| `incognito` | Forces Incognito mode even if user data directory is specified by using the `--user-data-dir` flag. |
105105
| `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. |
106106
| `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. |
107108
| `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. |
108109
| `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. |
109110
| `msAbydos` | Enables the "handwriting-to-text" experience. |
110111
| `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. |
111112
| `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. |
112114
| `msEdgeDesignerUI` | Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
113115
| `msEdgeHubAppDesigner ` | Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
114116
| `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.
121123
| `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. |
122124
| `msOverlayScrollbarWinStyle` | Whether the users can change between overlay and non-overlay modes for Fluent scrollbars. |
123125
| `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. |
124127
| `msSingleSignOnOSForPrimaryAccountIsShared` | If enabled, allows implicit sign-in to Microsoft webpages using any account, by using the information from the primary OS account. |
125128
| `msSmartScreenProtection` | If enabled, SmartScreen protection will be available. |
126129
| `msUseSpellCheckCorrectionsCard` | If enabled, a new corrections card UI is shown when the user clicks a misspelled word. |

0 commit comments

Comments
 (0)