This is because when loading HTML content with SetHTML, we are not autorized to access local content. Look at this function `SetVirtualHostNameToFolderMapping`, I think it is the sollution after reading [this](https://github.com/MicrosoftEdge/WebView2Feedback/issues/456) and [this](https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/working-with-local-content?tabs=dotnetcsharp#loading-local-content-by-navigating-to-an-html-string)