Skip to content

Commit

Permalink
Fix eval compilationSink in EnsureCSPDoesNotBlockStringCompilation. (#…
Browse files Browse the repository at this point in the history
…699)

Closes #695
  • Loading branch information
fred-wang authored Dec 17, 2024
1 parent 398a20e commit 268bdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity

1. Else:

1. Let |compilationSink| be "Function" if |compilationType| is "`FUNCTION`", and "Eval" otherwise.
1. Let |compilationSink| be "Function" if |compilationType| is "`FUNCTION`", and "eval" otherwise.

1. Let |isTrusted| be `true` if |bodyArg| [=implements=] {{TrustedScript}}, and `false` otherwise.

Expand Down

0 comments on commit 268bdff

Please sign in to comment.