Skip to content

Commit fd0268e

Browse files
Export the "Does sink type require trusted types?" algorithm (#603)
SHA: 4193b72 Reason: push, by lukewarlow Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent be83654 commit fd0268e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dist/spec/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
88
<meta content="Bikeshed version 3f621ba99, updated Mon Jul 28 15:38:36 2025 -0700" name="generator">
99
<link href="https://www.w3.org/TR/trusted-types/" rel="canonical">
10-
<meta content="585f50262193b3f1d4711402495b55f2f5ac5fa0" name="revision">
10+
<meta content="4193b7234b1188ee4f77e8fd1b162b5d0651c4dc" name="revision">
1111
<meta content="dark light" name="color-scheme">
1212
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
1313
<style>/* Boilerplate: style-autolinks */
@@ -1060,7 +1060,7 @@
10601060
</p>
10611061
<h1 class="p-name no-ref" id="title">Trusted Types</h1>
10621062
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>,
1063-
<time class="dt-updated" datetime="2025-10-28">28 October 2025</time></p>
1063+
<time class="dt-updated" datetime="2025-11-03">3 November 2025</time></p>
10641064
<details open>
10651065
<summary>More details about this document</summary>
10661066
<div data-fill-with="spec-metadata">
@@ -2785,7 +2785,7 @@ <h4 class="heading settled" data-level="4.3.2" id="trusted-types-csp-directive">
27852785
</div>
27862786
<h4 class="heading settled" data-level="4.3.3" id="does-sink-require-trusted-types"><span class="secno">4.3.3. </span><span class="content">Does sink type require trusted types?</span><a class="self-link" href="#does-sink-require-trusted-types"></a></h4>
27872787
<p>This algorithm returns <code>true</code> if the <a data-link-type="dfn" href="#injection-sink" id="ref-for-injection-sink②⑤">injection sink</a> requires a <a data-link-type="dfn" href="#trusted-type" id="ref-for-trusted-type⑤">Trusted Type</a>, and <code>false</code> otherwise.</p>
2788-
<p>The <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="does-sink-type-require-trusted-types">does sink type require trusted types?</dfn> algorithm, given a <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global" id="ref-for-concept-realm-global③">global object</a> (<var>global</var>), a string (<var>sinkGroup</var>) and a boolean (<var>includeReportOnlyPolicies</var>), performs these steps:</p>
2788+
<p>The <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="does-sink-type-require-trusted-types">does sink type require trusted types?</dfn> algorithm, given a <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global" id="ref-for-concept-realm-global③">global object</a> (<var>global</var>), a string (<var>sinkGroup</var>) and a boolean (<var>includeReportOnlyPolicies</var>), performs these steps:</p>
27892789
<ol>
27902790
<li data-md>
27912791
<p>For each <var>policy</var> in <var>global</var>’s <a data-link-type="dfn" href="https://w3c.github.io/webappsec-csp/#global-object-csp-list" id="ref-for-global-object-csp-list">CSP list</a>:</p>

0 commit comments

Comments
 (0)