Skip to content
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

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

mikehoffms
Copy link
Collaborator

@mikehoffms mikehoffms commented Mar 19, 2025

Rendered article section for review:

AB#56766894

@mikehoffms mikehoffms requested a review from sivMSFT March 19, 2025 15:13
@mikehoffms mikehoffms added the cat: webview2 WebView-related content. label Mar 19, 2025
@mikehoffms mikehoffms changed the title Add long-animation-frame-timing & msWebView2BrowserHitTransparent in "WebView2 browser flags" Add long-anim-frame & BrowserHitTransparent in "WebView2 browser flags" Mar 19, 2025
Copy link
Collaborator Author

@mikehoffms mikehoffms left a 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. |
Copy link
Collaborator Author

@mikehoffms mikehoffms Mar 21, 2025

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?
  • 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?

@sivMSFT @captainbrosset

| `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. |
Copy link
Collaborator Author

@mikehoffms mikehoffms Mar 21, 2025

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?
  • 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?

@sivMSFT @captainbrosset

Copy link

Learn Build status updates of commit 4ba2f0e:

✅ Validation status: passed

File Status Preview URL Details
microsoft-edge/webview2/concepts/webview-features-flags.md ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: webview2 WebView-related content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants