What happened?
I expect that when you specify AdditionalBrowserArguments when creating the webview2 argument, it would overwrite the global env variable WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS, however that is NOT the case.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
- Set
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS env variable
- Set
AdditionalBrowserArguments property with different arguments
- Validate which one is used
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
What happened?
I expect that when you specify
AdditionalBrowserArgumentswhen creating the webview2 argument, it would overwrite the global env variableWEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS, however that is NOT the case.Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
Winforms
Operating System
Windows 11
OS Version
No response
Repro steps
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTSenv variableAdditionalBrowserArgumentsproperty with different argumentsRepros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response