Skip to content

Commit 513050f

Browse files
Merge pull request #3402 from MicrosoftDocs/user/mikehoffms/flags-sso
Add scavenger GC & SSO flags in "WebView2 browser flags"
2 parents 399efe5 + 4ad7975 commit 513050f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

microsoft-edge/webview2/concepts/browser-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The following shortcuts are always turned off in WebView2, or are effectively tu
153153
| Browser Task Manager `*` | **Shift+Escape** |
154154
| Edge Feedback `*` | **Shift+Alt+I** |
155155
| Mute Tab `*` | **Ctrl+M** |
156-
| New Incognito Window | **Ctrl+Shift+N** |
156+
| New InPrivate (Incognito) Window | **Ctrl+Shift+N** |
157157
| New Tab | **Ctrl+T** |
158158
| New Window | **Ctrl+N** |
159159
| Restore Last Closed Tab | **Ctrl+Shift+T** |

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

Lines changed: 5 additions & 3 deletions
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

@@ -101,14 +101,15 @@ The following are some of the flags we've seen used.
101101
| `HardwareMediaKeyHandling` | Enables handling of hardware media keys for controlling media. |
102102
| `ignore-certificate-errors` | Ignores certificate-related errors. |
103103
| `ignore-gpu-blocklist` | Whether to ignore the GPU blocklist. |
104-
| `incognito` | Forces Incognito mode even if user data directory is specified by using the `--user-data-dir` flag. |
104+
| `incognito` | Forces InPrivate (Incognito) mode even if the 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. |
106-
| `js-flags` | Specifies the flags passed to JS engine. |
106+
| `js-flags` | Specifies the flags passed to the JS engine. Available flags: `scavenger_max_new_space_capacity_mb`: Specifies the maximum limit (in MB) for scavenger (minor) garbage collectors in the V8 JavaScript engine. <br/>A lower scavenger memory limit reduces memory usage, and increases the frequency of running minor garbage collectors. <br/>A higher scavenger memory limit increases memory usage, and reduces the frequency of running minor garbage collectors. |
107107
| `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. |
108108
| `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. |
109109
| `msAbydos` | Enables the "handwriting-to-text" experience. |
110110
| `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. |
111111
| `msAbydosHandwritingAttr` | Whether the "handwriting-to-text" experience is enabled for input elements at the DOM level. Valid only if the `msAbydos` flag is enabled. |
112+
| `msAllowAmbientAuthInPrivateWebView2` | This flag is to be used along with the `msSingleSignOnForInPrivateWebView2` browser flag, to enable single sign-on (SSO) with default credential flow or ambient authentication flow. |
112113
| `msEdgeDesignerUI` | Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
113114
| `msEdgeHubAppDesigner ` | Use this flag to disable the Designer Shoreline App. This feature is not supported in WebView2. |
114115
| `msEdgeDesignerDriverFix ` | Use this flag to disable getting content and automatically showing the Designer feature. This feature is not supported in WebView2. |
@@ -121,6 +122,7 @@ The following are some of the flags we've seen used.
121122
| `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. |
122123
| `msOverlayScrollbarWinStyle` | Whether the users can change between overlay and non-overlay modes for Fluent scrollbars. |
123124
| `msPdfEnableAsPreview` | This features enables the PDF viewer to launch with a minimal toolbar and in read-only preview mode. |
125+
| `msSingleSignOnForInPrivateWebView2` | This flag enables the single sign-on (SSO) flow for InPrivate (Incognito) sessions of WebView2. Enables browser-based SSO in InPrivate (Incognito) mode. |
124126
| `msSingleSignOnOSForPrimaryAccountIsShared` | If enabled, allows implicit sign-in to Microsoft webpages using any account, by using the information from the primary OS account. |
125127
| `msSmartScreenProtection` | If enabled, SmartScreen protection will be available. |
126128
| `msUseSpellCheckCorrectionsCard` | If enabled, a new corrections card UI is shown when the user clicks a misspelled word. |

0 commit comments

Comments
 (0)