-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add long-anim-frame & BrowserHitTransparent in "WebView2 browser flags" #3410
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Writer/Editor
@@ -106,41 +119,42 @@ The following are some of the flags we've seen used. | |||
| `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. For 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. | | |||
| `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. | | |||
| `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. | | |||
| `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. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
long-animation-frame-timing
- Does this flag take a
true|false
value, or some other value?- If
true
, what's the behavior? - If
false
, what's the behavior?
- If
- During development, what is the result of this flag being present, in contrast to the norm which is that this flag is not present?
- That might be answered by the existing text.
- Is there an example of this flag in use?
| `msSingleSignOnOSForPrimaryAccountIsShared` | Allows implicit sign-in to Microsoft webpages using any account, by using the information from the primary OS account. | | ||
| `msSmartScreenProtection` | Makes SmartScreen protection available. | | ||
| `msUseSpellCheckCorrectionsCard` | Causes a corrections card UI to be shown when the user clicks a misspelled word. | | ||
| `msWebView2BrowserHitTransparent` | Allows the host application to handle input events before they are passed to the WebView2 control. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msWebView2BrowserHitTransparent
- Does this flag take a
true|false
value, or some other value?- If
true
, what's the behavior? - If
false
, what's the behavior?
- If
- During development, what is the result of this flag being present, in contrast to the norm which is that this flag is not present?
- That might be answered by the existing text.
- Is there an example of this flag in use?
Learn Build status updates of commit 4ba2f0e: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Rendered article section for review:
/webview2/concepts/webview-features-flags.md
long-animation-frame-timing
.msWebView2BrowserHitTransparent
.msWebView2CodeCache
.msWebView2EnableDownloadContentInWebResourceResponseReceived
.AB#56766894