megaplot
megaplot copied to clipboard
Not compliant with Trusted Types due to regl
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 https://github.com/regl-project/regl/issues/650, but I would also be interested if you have thoughts on this.