Skip to content

Make mono CSP Compliant #68374

@mingyaulee

Description

@mingyaulee

In the effort to remove unsafe-eval CSP requirement from Blazor WASM, the mono runtime also needs to be CSP compliant by removing the need for unsafe-eval.

Although issue #59416 has been resolved, the runtime is still not CSP compliant, with the following lines requiring the unsafe-eval CSP:

result = Function.apply(Function, keys);

const fn_defn = new Function("__closure", fn_body_template);

This might not be applicable since it is only for debugging:

const fn_defn = new Function("proxy", fn_body_template);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions