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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ Give an example. -->
117
117
|`ignore-gpu-blocklist`| Whether to ignore the GPU blocklist. |
118
118
|`incognito`| Forces InPrivate (Incognito) mode even if the user data directory is specified by using the `--user-data-dir` flag. |
119
119
|`isolate-origins`| Require dedicated processes for a set of origins, specified as a comma-separated list. Example: `--isolate-origins=https://www.foo.com,https://www.bar.com`. |
120
-
|`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. Example: <br/>`--js-flags=--scavenger_max_new_space_capacity_mb=8` <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. |
120
+
|`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. Example: `--js-flags=--scavenger_max_new_space_capacity_mb=8`. |
121
121
|`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. |
122
122
|`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. |
123
123
|`long-animation-frame-timing`| Provides detailed timing for long animation frames, which are frames exceeding the standard 16.67ms duration (60fps). This helps during debugging and performance analysis, to identify and optimize performance bottlenecks for animation-heavy applications. |
@@ -167,7 +167,7 @@ Give an example. -->
167
167
|`SharedArrayBuffer`| Indicates that a `SharedArrayBuffer` thread is present. |
168
168
|`SpareRendererForSitePerProcess`| Makes the Edge Webview spare renderer process try to always have a warm spare renderer process running for the most recently requested `BrowserContext`. This feature is only consulted in site-per-process mode. |
169
169
|`ThirdPartyStoragePartitioning`| Enables partitioning of third-party storage, such as `IndexedDB` or `CacheStorage`, by the top-level site, to reduce fingerprinting. |
170
-
|`unsafely-treat-insecure-origin-as-secure`| Treats given (insecure) origins as secure origins. Multiple origins can be specified, as a comma-separated list. For the definition of secure contexts, see [Secure Contexts](https://w3c.github.io/webappsec-secure-contexts/), including the section [Is `origin` potentially trustworthy?](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy). Example: `--unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test`|
170
+
|`unsafely-treat-insecure-origin-as-secure`| Treats given (insecure) origins as secure origins. Multiple origins can be specified, as a comma-separated list. For the definition of secure contexts, see [Secure Contexts](https://w3c.github.io/webappsec-secure-contexts/), including the section [Is `origin` potentially trustworthy?](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy). Example: `--unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test`.|
171
171
|`use-fake-device-for-media-stream`| Uses a fake device for Media Stream to replace an actual camera and microphone. |
172
172
|`use-fake-ui-for-media-stream`| Bypasses the media stream infobar, by selecting the default device for media streams (such as WebRTC). Works with `--use-fake-device-for-media-stream`. Prefer using `--auto-accept-camera-and-microphone-capture` instead, which doesn't interact with screen capture, such as capturing a browser tab. |
173
173
|`use-system-proxy-resolver`| Uses WinHttp to resolve proxies instead of using WebView2's normal proxy resolution logic. This flag is only supported in Windows. |
0 commit comments