[Editorial] Fix broken references to Trusted Types spec (#790) · w3c/webappsec-csp@a131bcb
antosart
·
2025-11-06
·
via Recent Commits to webappsec-csp:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1516,7 +1516,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1516 | 1516 | whose [=TrustedScript/data=] is set to |codeString| if |isTrusted| is `true`, and |
1517 | 1517 | |codeString| otherwise. |
1518 | 1518 | |
1519 | | - 1. Let |sourceString| be the result of executing the [$Get Trusted Type compliant string$] algorithm, with |
| 1519 | + 1. Let |sourceString| be the result of executing the [=get trusted type compliant string=] algorithm, with |
1520 | 1520 | {{TrustedScript}}, |realm|, |sourceToValidate|, |compilationSink|, and `'script'`. |
1521 | 1521 | |
1522 | 1522 | 1. If the algorithm throws an error, throw an {{EvalError}}. |
@@ -1539,7 +1539,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1539 | 1539 | |
1540 | 1540 | 1. If |source-list| is not null: |
1541 | 1541 | |
1542 | | - 1. Let |trustedTypesRequired| be the result of executing [$Does sink type require trusted types?$], with |
| 1542 | + 1. Let |trustedTypesRequired| be the result of executing [=does sink type require trusted types?=], with |
1543 | 1543 | |realm|, `'script'`, and `false`. |
1544 | 1544 | |
1545 | 1545 | 1. If |trustedTypesRequired| is `true` and |source-list| contains a [=source expression=] which is an |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。