You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theFunction
constructor on it.The text was updated successfully, but these errors were encountered: