Skip to content

Commit 0132226

Browse files
committed
example last
1 parent 1a5ae77 commit 0132226

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Give an example. -->
117117
| `ignore-gpu-blocklist` | Whether to ignore the GPU blocklist. |
118118
| `incognito` | Forces InPrivate (Incognito) mode even if the user data directory is specified by using the `--user-data-dir` flag. |
119119
| `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`. |
121121
| `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. |
122122
| `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. |
123123
| `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. -->
167167
| `SharedArrayBuffer` | Indicates that a `SharedArrayBuffer` thread is present. |
168168
| `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. |
169169
| `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`. |
171171
| `use-fake-device-for-media-stream` | Uses a fake device for Media Stream to replace an actual camera and microphone. |
172172
| `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. |
173173
| `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

Comments
 (0)