-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
Whilst investigating improving CSP compliance in Blazor, I found that Blazor WASM requires unsafe-eval
due to mono's usage of eval
:
runtime/src/mono/wasm/runtime/library_mono.js
Line 745 in 96cb482
const fn_res = eval (fn_eval_str); |
This issue is to examine feasibility of removing this dependency on eval
so that unsafe-eval
is no longer required in the Blazor WASM CSP.
For reference, I found this article to be helpful for understanding CSP peculiarities (eval section).