Open vchirikov opened 2 years ago
Hey @vchirikov - thanks for the bug report, and sorry you are hitting this! Do you see the correct behavior if you run this in the Microsoft Edge browser, or another WebView2 app?
Do you see the correct behavior if you run this in the Microsoft Edge browser
yes, in MS Edge everything is ok
it's strange, if I use
<Content Include="..\UI.Blazor.Host\wwwroot\**\*.*" Link="wwwroot\%(RecursiveDir)%(Filename)%(Extension)" />
in csproj, the files will be copied, but the new Worker()
doesn't work. If I copy files into wwwroot
in the maui project directly it will work (except serviceWorker api?).
Hm..
Thanks for confirming - I've added this bug to our backlog to take a closer look. Is this blocking you, or do you have workarounds for now?
Looks like MAUI issue.. Can you move the issue to their repo?
Description
Web Workers API instead of sources of a file gets source of the
index.html
. I meanfetch()
returns right file, butnew Worker()
doesn't. Check the screenshots and gif. Is it a webview2 bug or a buf inside of maui wrapper of the webview2?Version SDK: Runtime: 99.0.1150.46 Framework: MAUI OS: win11 / android / any (?)
Repro Steps
cc: @champnic
AB#38653528