closure-compiler
closure-compiler copied to clipboard
Support TrustedScript as an argument to eval
Currently, eval only support string type as an argument. However, Chrome added support for Trusted Types in Chrome 83, which makes TrustedScript type as a valid argument to eval.
fixed? https://github.com/google/closure-compiler/commit/b152c8b6ea439bebd3146209d862090a93f91d7c#diff-5291c05c61136e88730b36f19bb26f11ece561419e80d7441d3dc6b41e50d64a