closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

Support TrustedScript as an argument to eval

Open shhnjk opened this issue 5 years ago • 1 comments

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.

shhnjk avatar Jun 05 '20 03:06 shhnjk

fixed? https://github.com/google/closure-compiler/commit/b152c8b6ea439bebd3146209d862090a93f91d7c#diff-5291c05c61136e88730b36f19bb26f11ece561419e80d7441d3dc6b41e50d64a

shhnjk avatar Aug 04 '21 07:08 shhnjk