diff --git a/index.bs b/index.bs index 336d453086..f36dee8f17 100644 --- a/index.bs +++ b/index.bs @@ -35,6 +35,8 @@ spec:html text: style type: element-attr text: ping + type:interface + text:SharedWorker spec:fetch type: dfn text: main fetch @@ -1442,10 +1444,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|, |codeString|, |compilationType|, |parameterArgs|, |bodyArg|)

- Given a realm |realm| and a string |source|, this algorithm + Given a realm |realm|, a list of strings |parameterStrings|, a string |bodyString|, a string |codeString|, an enum (|compilationType|), + a list of ECMAScript language values (|parameterArgs|), and an ECMAScript language value (|bodyArg|), this algorithm returns normally if string compilation is allowed, and throws an "`EvalError`" if not: @@ -1474,7 +1477,7 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/ 3. If |source-list| [=list/contains=] the expression "`'report-sample'`", then set |violation|'s [=violation/sample=] to - the substring of |source| containing its first 40 characters. + the substring of |codeString| containing its first 40 characters. 4. Execute [[#report-violation]] on |violation|. @@ -1483,9 +1486,7 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/ 4. If |result| is "`Blocked`", throw an `EvalError` exception. - ISSUE(tc39/ecma262#938): {{HostEnsureCanCompileStrings()}} does not include the string which is - going to be compiled as a parameter. We'll also need to update HTML to pipe that value through - to CSP. + Note: |parameterStrings|, |bodyString|, |compilationType|, |parameterArgs|, and |bodyArg| are currently unused. They are included for future use.

Integration with WebAssembly