-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Gutter icon: Refused to load resource #118623
Comments
@usernamehw this is an extension providing that setting? As part of our sandbox effort we start to block resources that are outside these locations for security reasons:
It is rather unlikely we would relax this restriction going forward. //cc @deepak1556 |
Yes. A minor feature. It's just a breaking change that doesn't seem to be in the release notes. The only issues I was able to find with this description are the ones about webviews. Right now the workaround is to copy those files using NodeJS |
@usernamehw yeah I actually forgot to document that. As an extension you will have full node.js API access even when sandbox is enabled, nothing changes for extensions. |
Ok. Closing then. |
Hi @bpasero , What if the extension is updated? Wouldn't you lose the copied resources because the older release will be deleted after you restart VS Code? Or will VS Code leave these files there, because aren't from the original I guess in this case we should use Thank you |
Yes, use |
In 1.54 custom gutter icon stopped working. I don't see anything in release notes that would indicate what kind of feature this is (Result of work on Sandbox?).
gutterIconPath
set it as a string to local file path"errorLens.errorGutterIconPath": "C:\\add.svg"
Icons in extension directory are loaded without problems. Only outside files refuse.
This was working from vscode version maybe <1.20 to >=1.53.
The text was updated successfully, but these errors were encountered: