From 7613b69b2db20959d0df8743e6348aff041e7fcf Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Thu, 14 Mar 2024 14:37:47 +0000 Subject: [PATCH] Update EnsureCSPDoesNotBlockStringCompilation to match updated HostEnsureCanCompileStrings definition. --- index.bs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 336d453086..bcc8cd51ee 100644 --- a/index.bs +++ b/index.bs @@ -1442,10 +1442,11 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/ to determine whether such compilation ought to be blocked.

- EnsureCSPDoesNotBlockStringCompilation(|realm|, |source|) + EnsureCSPDoesNotBlockStringCompilation(|realm|, |parameterStrings|, |bodyString|, |direct|, |source|)

- Given a realm |realm| and a string |source|, this algorithm + Given a realm |realm|, a list of strings |parameterStrings|, a string |bodyString|, a boolean |direct|, + and a string |source|, this algorithm returns normally if string compilation is allowed, and throws an "`EvalError`" if not: