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
feat(Sky): Add VS Code CDN and file scheme CSP permissions
Add Content Security Policy permissions required for VS Code extension host and webview functionality:
1. frame-src: Allow vscode-webview.net, *.vscode-cdn.net, *.vscode-webview.net for extension iframe loading
2. script-src/style-src/connect-src: Allow vscode-file: and vscode-file://vscode-app for local file access in extensions
3. connect-src: Allow blob: and ipc: for extension host communication
Additionally, implement a Blob constructor patch in Workbench.ts that intercepts VS Code worker bootstrap blobs and injects the __name shim. This ensures extension host blob workers have access to esbuild's __name helper without requiring external fetches.
These changes enable VS Code extensions to load properly from CDN sources and access local file resources.
0 commit comments