Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
whose [=TrustedScript/data=] is set to |codeString| if |isTrusted| is `true`, and
|codeString| otherwise.

1. Let |sourceString| be the result of executing the [$Get Trusted Type compliant string$] algorithm, with
1. Let |sourceString| be the result of executing the [=get trusted type compliant string=] algorithm, with
{{TrustedScript}}, |realm|, |sourceToValidate|, |compilationSink|, and `'script'`.

1. If the algorithm throws an error, throw an {{EvalError}}.
Expand All @@ -1539,7 +1539,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity

1. If |source-list| is not null:

1. Let |trustedTypesRequired| be the result of executing [$Does sink type require trusted types?$], with
1. Let |trustedTypesRequired| be the result of executing [=does sink type require trusted types?=], with
|realm|, `'script'`, and `false`.

1. If |trustedTypesRequired| is `true` and |source-list| contains a [=source expression=] which is an
Expand Down