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

Not compliant with Trusted Types due to regl #27

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

Not compliant with Trusted Types due to regl #27

GradySimon opened this issue Jun 16, 2022 · 0 comments

Comments

@GradySimon
Copy link
Collaborator

GradySimon commented Jun 16, 2022

It looks like regl triggers Trusted Types errors at this line. Since I'm in a "Report Only" environment, I see this error in the console, but it does allow the code to still run.

[Report Only] This document requires 'TrustedScript' assignment.

I don't fully understand what it's doing, but it seems like it's generating JavaScript code and then compiling with the Function constructor.

Is there anything that can be done at the Megaplot level to make become compliant with Trusted Types?

I realize this is more of a regl issue, so I filed regl-project/regl#650, but I would also be interested if you have thoughts on this.

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