-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webview resources not loading - ERR_UNKNOWN_URL_SCHEME (vscode-insiders) (AGAIN) #101093
Comments
Looping in @mjbvz |
@mjbvz the issue seems to happen only with the packaged build, OSS works fine. If you check The root issue is the path to the entry virtual document is incorrect in packaged build. |
Thanks @deepak1556. From that I believe I was able to trace the issue to having spaces (or other special uri characters) in your install path. I'll queue up another insiders build for testing |
Thanks @mjbvz & @deepak1556 for getting this resolved! Webviews are now working again in Visual Studio Code Insiders:
|
Sorry for the breaking. We've been rewriting parts of the webview implementation this iteration and this has caused a lot of interesting bugs We do have webview test that try loading resources so I'll investigate why this wasn't caught before the release |
This bug was first reported in #100879 & #100918, was fixed in Visual Studio Code Insiders 9b620b2, then reintroduced in the latest Visual Studio Code Insiders release (information below).
Please fix this asap - it has already fatally affected all Visual Studio Code Insiders users of all extensions that use Webviews (including my own) for 2.5 days just to get it fixed the first time, now it's broken again within 12 hours of it being fixed!
I'm the author of the Git Graph extension. This bug is affecting all Git Graph users that use Visual Studio Code Insiders, as well as every other extension I'm aware of that loads resources (e.g. CSS, JS) in Webview's (more specifically, resources loaded by
Webview.asWebviewUri
). I can replicate bug on Windows & Mac, I've had reports of this from many users.Steps to Reproduce:
Does this issue occur when all extensions are disabled?: No (Because it only affects extensions that use Webview's)
The resolution of this issue is being tracked for Git Graph users here.
The text was updated successfully, but these errors were encountered: