MicrosoftEdge / MicrosoftEdge/WebView2Feedback
NavigateToString with a very large string shows error "Value does not fall within the expected range"
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am using WPF Webview2 control. I saw with some specific large data NavigateToString method throws below error:
System.ArgumentException
HResult=0x80070057
Message=Value does not fall within the expected range.
Source=Microsoft.Web.WebView2.Core
StackTrace:
at Microsoft.Web.WebView2.Core.Raw.ICoreWebView2.NavigateToString(String htmlContent)
at Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(String htmlContent)
at WebView2Sample.MainWindow.<Window_Loaded>d__1.MoveNext()
Note: The issue is not seen using Navigate method or setting Source property.
Is this a known issue? NavigateToString has any limitations?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.