- Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
proposalThis is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4.This is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4.
Description
To improve the quality of CSP reports, it would be helpful for HostEnsureCanCompileStrings() to include the string to be compiled as an argument. HostEnsureCanCompileStrings(callerRealm, calleeRealm, source) seems ideal. :)
The goal is to ensure that we can include a sample of the script which violates the policy when generating a CSP violation report. We're doing this for inline <script>...</script> blocks today, and layering eval() and the like on as well would be helpful.
Metadata
Metadata
Assignees
Labels
proposalThis is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4.This is related to a specific proposal, and will be closed/merged when the proposal reaches stage 4.