-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
bugSomething isn't workingSomething isn't workingregressionSomething used to work but doesn't anymoreSomething used to work but doesn't anymoretrackedWe are tracking this work internally.We are tracking this work internally.
Description
What happened?
When I call Environment.CreateFindOptions(), the sample WinForms app is now throwing:
"Unable to cast to Microsoft.Web.WebView2.Core.Raw.ICoreWebView2ExperimentalEnvironment
(version 140.0.3427.0 canary)
In my particular app, when I call that
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
139.0.3405.21 beta
SDK Version
3116.0
Framework
Winforms
Operating System
Windows 11
OS Version
10.0.26100.4343
Repro steps
modify the sample WinForms app to intercept Ctrl+F, and call:
var findOptions = wv2.CoreWebView2.Environment.CreateFindOptions();
see that it crashes
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Regression in newer Runtime
Last working version (if regression)
138
ajtruckle
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingregressionSomething used to work but doesn't anymoreSomething used to work but doesn't anymoretrackedWe are tracking this work internally.We are tracking this work internally.