Skip to content

Commit dd4c429

Browse files
authoredJun 21, 2024··
feat(browser-ext): update content_security_policy to support wasm (#463)
1 parent 7ac0a13 commit dd4c429

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎packages/chrome-extension/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"content_security_policy": {
36-
"extension_pages": "script-src 'self'; object-src 'self'"
36+
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
3737
},
3838
"description": "DevTools browser extension for Vue.js",
3939
"devtools_page": "pages/devtools-background.html",

‎packages/firefox-extension/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"run_at": "document_idle"
3535
}
3636
],
37-
"content_security_policy": "script-src 'self'; object-src 'self'",
37+
"content_security_policy": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'",
3838
"description": "DevTools browser extension for Vue.js",
3939
"devtools_page": "devtools-background.html",
4040
"icons": {

0 commit comments

Comments
 (0)
Please sign in to comment.