Layering: add hook to allow implementations to block string compilation by domenic · Pull Request #451 · tc39/ecma262

https://github.com/tc39/ecma262/pull/451

This pull request add HostEnsureCanCompileStrings which is implementation-defined abstract operation. In other word, it is abstract operation for CSP hook.

CSP prevent evaling code. So, HostEnsureCanCompileStrings return false by implemntation, then the code should not evaled.

This should more closely match implementations.




blog comments powered by Disqus