Skip to content

Commit 81e261f

Browse files
authored
Editorial: link directly to a Trusted Types algorithm
This also aligns the capitalization with Trusted Types.
1 parent 789145a commit 81e261f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

source

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4790,7 +4790,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
47904790
<li><dfn data-x="tt-trustedscript" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#trusted-script"><code>TrustedScript</code></dfn></li>
47914791
<li><dfn data-x="tt-trustedscript-data" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#trustedscript-data"><code>data</code></dfn></li>
47924792
<li><dfn data-x="tt-trustedscripturl" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#trustedscripturl"><code>TrustedScriptURL</code></dfn></li>
4793-
<li><dfn data-x="tt-getcompliantstring" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-string-algorithm">Get Trusted Type compliant string</dfn></li>
4793+
<li><dfn data-x="tt-getcompliantstring" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-string">get trusted type compliant string</dfn></li>
47944794
</ul>
47954795
</dd>
47964796

@@ -35430,7 +35430,7 @@ interface <dfn interface>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
3543035430

3543135431
<ol>
3543235432
<li><p>Let <var>compliantString</var> be the result of invoking the <span
35433-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
35433+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
3543435434
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
3543535435
object</span>, the given value, "<code data-x="">HTMLIFrameElement srcdoc</code>", and "<code
3543635436
data-x="">script</code>".</p></li>
@@ -123417,7 +123417,7 @@ document.body.appendChild(frame)</code></pre>
123417123417
</li>
123418123418

123419123419
<li><p>If <var>isTrusted</var> is false, set <var>string</var> to the result of invoking the
123420-
<span data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with
123420+
<span data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with
123421123421
<code data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123422123422
object</span>, <var>string</var>, <var>sink</var>, and "<code data-x="">script</code>".</p></li>
123423123423

@@ -123606,7 +123606,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
123606123606

123607123607
<ol>
123608123608
<li><p>Let <var>compliantString</var> be the result of invoking the <span
123609-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
123609+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
123610123610
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123611123611
object</span>, <var>string</var>, "<code data-x="">DOMParser parseFromString</code>", and "<code
123612123612
data-x="">script</code>".</p></li>
@@ -123752,7 +123752,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
123752123752

123753123753
<ol>
123754123754
<li><p>Let <var>compliantHTML</var> be the result of invoking the <span
123755-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
123755+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
123756123756
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123757123757
object</span>, <var>html</var>, "<code data-x="">Element setHTMLUnsafe</code>", and "<code
123758123758
data-x="">script</code>".</p></li>
@@ -123772,7 +123772,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
123772123772

123773123773
<ol>
123774123774
<li><p>Let <var>compliantHTML</var> be the result of invoking the <span
123775-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
123775+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
123776123776
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123777123777
object</span>, <var>html</var>, "<code data-x="">ShadowRoot setHTMLUnsafe</code>", and "<code
123778123778
data-x="">script</code>".</p></li>
@@ -123810,7 +123810,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
123810123810

123811123811
<ol>
123812123812
<li><p>Let <var>compliantHTML</var> be the result of invoking the <span
123813-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
123813+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
123814123814
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123815123815
object</span>, <var>html</var>, "<code data-x="">Document parseHTMLUnsafe</code>", and "<code
123816123816
data-x="">script</code>".</p></li>
@@ -123985,7 +123985,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
123985123985

123986123986
<ol>
123987123987
<li><p>Let <var>compliantString</var> be the result of invoking the <span
123988-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
123988+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
123989123989
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
123990123990
object</span>, the given value, "<code data-x="">Element innerHTML</code>", and "<code
123991123991
data-x="">script</code>".</p></li>
@@ -124016,7 +124016,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
124016124016

124017124017
<ol>
124018124018
<li><p>Let <var>compliantString</var> be the result of invoking the <span
124019-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
124019+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
124020124020
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
124021124021
object</span>, the given value, "<code data-x="">ShadowRoot innerHTML</code>", and "<code
124022124022
data-x="">script</code>".</p></li>
@@ -124084,7 +124084,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
124084124084

124085124085
<ol>
124086124086
<li><p>Let <var>compliantString</var> be the result of invoking the <span
124087-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
124087+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
124088124088
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
124089124089
object</span>, the given value, "<code data-x="">Element outerHTML</code>", and "<code
124090124090
data-x="">script</code>".</p></li>
@@ -124161,7 +124161,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
124161124161

124162124162
<ol>
124163124163
<li><p>Let <var>compliantString</var> be the result of invoking the <span
124164-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
124164+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
124165124165
data-x="tt-trustedhtml">TrustedHTML</code>, <span>this</span>'s <span>relevant global
124166124166
object</span>, <var>string</var>, "<code data-x="">Element insertAdjacentHTML</code>", and "<code
124167124167
data-x="">script</code>".</p></li>
@@ -124587,7 +124587,7 @@ interface <dfn interface>XMLSerializer</dfn> {
124587124587
<var>methodName</var>.</p></li>
124588124588

124589124589
<li><p>Set <var>handler</var> to the result of invoking the <span
124590-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with
124590+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with
124591124591
<code data-x="tt-trustedscript">TrustedScript</code>, <var>global</var>,
124592124592
<var>handler</var>, <var>sink</var>, and "<code data-x="">script</code>".</p></li>
124593124593
</ol>
@@ -131157,7 +131157,7 @@ enum <dfn enum>WorkerType</dfn> { "classic", "module" };
131157131157

131158131158
<ol>
131159131159
<li><p>Let <var>compliantScriptURL</var> be the result of invoking the <span
131160-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
131160+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
131161131161
data-x="tt-trustedscripturl">TrustedScriptURL</code>, <span>this</span>'s <span>relevant global
131162131162
object</span>, <var>scriptURL</var>, "<code data-x="">Worker constructor</code>", and "<code
131163131163
data-x="">script</code>".</p></li>
@@ -131282,7 +131282,7 @@ interface <dfn interface>SharedWorker</dfn> : <span>EventTarget</span> {
131282131282

131283131283
<ol>
131284131284
<li><p>Let <var>compliantScriptURL</var> be the result of invoking the <span
131285-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
131285+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
131286131286
data-x="tt-trustedscripturl">TrustedScriptURL</code>, <span>this</span>'s <span>relevant global
131287131287
object</span>, <var>scriptURL</var>, "<code data-x="">SharedWorker constructor</code>", and
131288131288
"<code data-x="">script</code>".</p></li>
@@ -131520,7 +131520,7 @@ interface <dfn interface>SharedWorker</dfn> : <span>EventTarget</span> {
131520131520

131521131521
<ol>
131522131522
<li><p><span data-x="list append">Append</span> the result of invoking the <span
131523-
data-x="tt-getcompliantstring">Get Trusted Type compliant string</span> algorithm with <code
131523+
data-x="tt-getcompliantstring">get trusted type compliant string</span> algorithm with <code
131524131524
data-x="tt-trustedscripturl">TrustedScriptURL</code>, <span>this</span>'s <span>relevant global
131525131525
object</span>, <var>url</var>, "<code data-x="">WorkerGlobalScope importScripts</code>", and
131526131526
"<code data-x="">script</code>" to <var>urlStrings</var>.</p></li>

0 commit comments

Comments
 (0)