-
Notifications
You must be signed in to change notification settings - Fork 51
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
CoreWebView2WebMessageReceivedEventArgs.AdditionalObjects throws a Microsoft.CSharp.RuntimeBinder.RuntimeBinderException exception #3474
Comments
2 weeks - no reaction. "The following APIs have been promoted to Stable and are now included in this Release SDK." - does anyone ever test new features before reporting them as stable? |
Hi, thanks for reporting this! Will look into this with high priority. |
I have a fix prepared for this. Unfortunately, some of our .NET tests (including the one that would have caught this) were not running properly in the pipeline; hence this is why this was overlooked. Apologize for inconvenience and will keep you updated on when this will be fixed (I'm pushing for an urgent SDK release for this). Thanks for your patience! |
Hi, wanted to update you that the fix for this has merged and has been bumped up to the next SDK release, which is anticipated to be next week. |
Thanks for the update. |
Nothing changed in the SDK 1.0.1823.32 and Runtime 114.0.1832.37: same Microsoft.CSharp.RuntimeBinder.RuntimeBinderException. |
Looking |
Hi @mikeduglas, we've looked into this and unfortunately turns out the fix wasn't properly cherry picked to the release SDK. Apologies for this again. The fix will be available in the prerelease SDK, which will be out on 6/12. You should be able to use the prerelease SDK without having to switch the runtime channel out of Stable as the fix is only at the SDK level. |
Hi again, I've verified with the latest prerelease package 1.0.1905, this issue is fixed. Closing this issue now. |
Yup, it works in 1.0.1905. |
Description
An access to CoreWebView2WebMessageReceivedEventArgs.AdditionalObjects in WebMessageReceived event handler throws following exception:
Version
SDK: 1.0.1774.30
Runtime: 113.0.1774.35
Framework: WinForms
OS: Win11
Repro Steps
var additionalObjects = e.AdditionalObjects;
Screenshots
Additional context
AB#44726780
The text was updated successfully, but these errors were encountered: