Skip to content

Commit 5831974

Browse files
committed
add worker-src and child-src, microsoft#79922
1 parent 7cf356f commit 5831974

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/vs/code/browser/workbench/workbench.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@
1010
<!-- Content Security Policy -->
1111
<meta
1212
http-equiv="Content-Security-Policy"
13-
content="default-src 'none'; img-src 'self' https: data: blob:; media-src 'none'; frame-src 'self' {{WEBVIEW_ENDPOINT}} https://*.vscode-webview-test.com; script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https:; style-src 'self' 'unsafe-inline'; connect-src 'self' ws: wss: https:; font-src 'self' blob:; manifest-src 'self';"
13+
content="default-src 'none';
14+
img-src 'self' https: data: blob:;
15+
media-src 'none';
16+
script-src 'self' https://az416426.vo.msecnd.net 'unsafe-eval' https:;
17+
child-src 'self';
18+
frame-src 'self' {{WEBVIEW_ENDPOINT}} https://*.vscode-webview-test.com;
19+
worker-src 'self';
20+
style-src 'self' 'unsafe-inline';
21+
connect-src 'self' ws: wss: https:;
22+
font-src 'self' blob:;
23+
manifest-src 'self';"
1424
>
1525

1626
<!-- Workbench Configuration -->

0 commit comments

Comments
 (0)