Skip to content

Commit 4f7bb9c

Browse files
authored
Update "WebView2 browser flags" (#3711)
* date * msWebViewAllowLocalNetworkAccessChecks * app singular * newline sentence * Note: no bold
1 parent bafb36f commit 4f7bb9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: article
77
ms.service: microsoft-edge
88
ms.subservice: webview
9-
ms.date: 11/10/2025
9+
ms.date: 02/02/2026
1010
---
1111
# WebView2 browser flags
1212
<!-- lexicon:
@@ -143,6 +143,7 @@ If the flag takes a value other than true|false, give an example. -->
143143
| `msSingleSignOnOSForPrimaryAccountIsShared` | Allows implicit sign-in to Microsoft webpages using any account, by using the information from the primary OS account. |
144144
| `msSmartScreenProtection` | Makes SmartScreen protection available. |
145145
| `msUseSpellCheckCorrectionsCard` | Causes a corrections card UI to be shown when the user clicks a misspelled word. |
146+
| `msWebViewAllowLocalNetworkAccessChecks` | Enables Local Network Access security checks that restrict web content from public origins from accessing local and loopback network resources unless explicitly permitted. Disabled by default; must be enabled by the app to configure Local Network Access behavior in WebView2. <br/>Note: This feature flag will be applicable until the APIs are fully onboarded and their adoption reaches a stable state, after which this flag will be deprecated. |
146147
| `msWebView2BrowserHitTransparent` | Causes mouse and keyboard events to pass through the WebView2 control to the underlying app, to allow the app to handle these events instead of the WebView2 control handling the events. When this flag is not enabled, the WebView2 control handles mouse and keyboard events; the events don't pass through to the underlying app. This flag allows testing how the app behaves when the WebView2 control doesn't intercept input events, for scenarios where the app needs to handle input events directly. This flag doesn't take a value. This flag might cause the app to crash or freeze.|
147148
| `msWebView2CancelInitialNavigation` | Cancels the initial navigation in WebView2, to improve startup performance. |
148149
| `msWebView2CodeCache` | Makes JavaScript resources that are loaded in a WebView2 app via `SetVirtualHostNameToFolderMapping` or `add_WebResourceRequested` eligible for bytecode caching, which should speed up the third and subsequent loads. This feature also enables bytecode caching for any other components that use the DevTools network interception mechanism to provide custom responses; see [Custom management of network requests](..\how-to\webresourcerequested.md). |

0 commit comments

Comments
 (0)