Commit 084ce62
Remove wasm-unsafe-eval from Webview CSP
sql.js runs in a dedicated worker thread, not in the webview directly.
Therefore, the webview does not require 'wasm-unsafe-eval' to load or compile
WebAssembly. This change hardens the CSP by removing this unnecessary directive.
Co-authored-by: zknpr <96851588+zknpr@users.noreply.github.com>1 parent 2a3de52 commit 084ce62
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments