diff --git a/src/rollup-extension-directory-plugin.ts b/src/rollup-extension-directory-plugin.ts index 8c459725..0a821112 100644 --- a/src/rollup-extension-directory-plugin.ts +++ b/src/rollup-extension-directory-plugin.ts @@ -20,7 +20,7 @@ export default function plugin({ const filter = createFilter(include, exclude) return { - name: 'default-extensions-loader', + name: 'extension-directory-loader', resolveId(source) { if (filter(source)) { return source diff --git a/vscode-paches/0055-fix-allow-data-urls-in-extension-host-worker.patch b/vscode-paches/0055-fix-allow-data-urls-in-extension-host-worker.patch new file mode 100644 index 00000000..7f270d7e --- /dev/null +++ b/vscode-paches/0055-fix-allow-data-urls-in-extension-host-worker.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= +Date: Thu, 17 Oct 2024 16:24:45 +0200 +Subject: [PATCH] fix: allow data urls in extension host worker + +--- + .../extensions/worker/webWorkerExtensionHostIframe.esm.html | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.esm.html b/src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.esm.html +index 9a3c7cec21d..85505f08114 100644 +--- a/src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.esm.html ++++ b/src/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.esm.html +@@ -5,7 +5,7 @@ + default-src 'none'; + child-src 'self' data: blob:; + script-src 'self' 'unsafe-eval' 'sha256-fCnZ3iXydTZHO961jO3ioYDdWSfm8PZg/rI6zFX/SE0=' https: http://localhost:* blob:; +- connect-src 'self' https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*;"/> ++ connect-src 'self' data: https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*;"/> + + +