Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compliance with Trusted Types #650

Open
GradySimon opened this issue Jun 16, 2022 · 0 comments
Open

Compliance with Trusted Types #650

GradySimon opened this issue Jun 16, 2022 · 0 comments

Comments

@GradySimon
Copy link

I'm using regl in an environment that has enabled Trusted Types (fortunately in "Report Only" mode for now). It reports on this line in codegen.js, where a function is constructed from the generated code.

Is it feasible for regl to become compliant with Trusted Types? I don't have any experience with this, but if I'm understanding the documentation correctly, it might relatively simple to create a Trusted Type policy and then construct a TrustedScript from the generated source before calling the Function constructor on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant