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
相同的代码,我使用 5.0.0 版本时无法加载 webview,但是我换成 4.1.4 版本就正常了。
With the same code, I couldn't load WebView when I used version 5.0.0, but it was normal for me to switch to version 4.1.4.
<!doctype html><htmllang="en"><head><metacharset="UTF-8"><title>Webview</title><style>
webview{
display:inline-flex;
width:300px;
height:200px;
background-color:#DDD;
}
</style></head><body><h1>Hello World!</h1>
We are using Node.js <script>document.write(process.versions.node)</script>,
Chromium <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
<webviewsrc="webview.html" id="myWebview"></webview></body></html>
Issue Details
相同的代码,我使用 5.0.0 版本时无法加载 webview,但是我换成 4.1.4 版本就正常了。
With the same code, I couldn't load WebView when I used version 5.0.0, but it was normal for me to switch to version 4.1.4.
My code
main.js
index.html
webview.html
Actual behavior
5.0.0
4.1.4
5.0.0 with file:// prefix
The text was updated successfully, but these errors were encountered: