Skip to content

Commit 63e25fe

Browse files
authored
Merge pull request #3236 from MicrosoftDocs/aluhrs13-patch-1
Add note on NavigateToString limit and common error
2 parents 7506a5f + 5410b1b commit 63e25fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

microsoft-edge/webview2/concepts/working-with-local-content.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ Another scenario where navigating to a string might be useful is if you want to
191191
<!-- ------------------------------ -->
192192
#### Considerations for loading local content by navigating to an HTML string
193193
194+
The HTML content string that's passed into the `NavigateToString` method has a size limit of 2MB. This size limit may be easy to exceed, when the string includes inlined additional resources. If this size limit is exceeded, an error is returned: "Value does not fall within the expected range".
195+
194196
195197
###### Origin-based DOM APIs
196198

0 commit comments

Comments
 (0)