diff --git a/spec/index.bs b/spec/index.bs index a70a7c87..2643a699 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -1281,6 +1281,15 @@ Note: This also applies to events in [[SVG2#EventAttributes]]. +### HostEnsureCanCompileStrings ### {#host-ensure-can-compile-strings} + +JavaScript contains an implementation-defined HostEnsureCanCompileStrings(realm, parameterStrings, +bodyString, codeString, compilationType, parameterArgs, bodyArg) +abstract operation. User agents must use the following implementation: + +1. Perform ? [[CSP3#can-compile-strings|EnsureCSPDoesNotBlockStringCompilation]](realm, parameterStrings, + bodyString, codeString, compilationType, parameterArgs, bodyArg). + ### Validate the string in context ### {#html-validate-the-string-in-context} This specification defines the validate the string in context algorithm in [[html#integration-with-idl]].