You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting the issue. I am creating an internal work item to return E_INVALIDARG in this case, which should be a better error code to return.
Specifying size of 0 for shared buffer is not supported and we currently returns E_OUTOFMEMORY when that is specified. I assume that you are not really trying to share a 0 sized buffer, right?
A fixed has been made that returns E_INVALIDARG when 0 buffer size is specified. It will be in Edge WebView2 Runtime version 126 to be released in about a month.
What happened?
When trying to create a Shared Buffer with the size 0, I get a System Out of Memory exception. Why?
Please either extend documentation an explaining why or fix it.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
1.0.2478.35
SDK Version
1.0.2478.35
Framework
WPF
Operating System
Windows 10
OS Version
10.0.19045 build 19045
Repro steps
Simply create a buffer with size 0 within a webview instance
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
AB#50874289
The text was updated successfully, but these errors were encountered: