Skip to content
Open
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
30 changes: 15 additions & 15 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -4789,7 +4789,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="tt-trustedscript" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#trusted-script"><code>TrustedScript</code></dfn></li>
<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>
<li><dfn data-x="tt-trustedscripturl" data-x-href="https://w3c.github.io/trusted-types/dist/spec/#trustedscripturl"><code>TrustedScriptURL</code></dfn></li>
<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>
<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>
</ul>
</dd>

Expand Down Expand Up @@ -35429,7 +35429,7 @@ interface <dfn interface>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {

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

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

Expand Down Expand Up @@ -123605,7 +123605,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {

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

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

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

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

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

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

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

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

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

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

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

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