Skip to content
Draft
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
21 changes: 21 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2757,6 +2757,14 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
</li>
</ul>

<p>The following terms are defined in <cite>Document Policy</cite>:

<ul class="brief">
<li><dfn data-x-href="https://wicg.github.io/document-policy/#document-policy">document policy</dfn></li>
<li>The `<dfn data-x="http-document-policy" data-x-href="https://wicg.github.io/document-policy/#document-policy-http-header"><code>Document-Policy</code></dfn>` HTTP header</li>
<li>The <dfn data-x="parse-document-policy-header" data-x-href="https://wicg.github.io/document-policy/#parse-document-policy">parse the `<code>Document-Policy</code>` header</dfn> algorithm</li>
</ul>

<p>The following terms are defined in <cite>Referrer Policy</cite>:
<ref>REFERRERPOLICY</ref></p>

Expand Down Expand Up @@ -94771,6 +94779,10 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
<li><p>A <dfn export for="policy container" data-x="policy-container-csp-list">CSP list</dfn>,
which is a <span data-x="concept-csp-list">CSP list</span>. It is initially empty.</p></li>

<li><p>An <dfn export for="policy container" data-x="policy-container-document-policy">document
policy</dfn>, which is an <span>document policy</span>. It is initially a new <span>document
policy</span>.</p></li>

<li><p>An <dfn export for="policy container" data-x="policy-container-embedder-policy">embedder
policy</dfn>, which is an <span>embedder policy</span>. It is initially a new <span>embedder
policy</span>.</p></li>
Expand Down Expand Up @@ -94803,6 +94815,10 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
data-x="list append">append</span> a copy of <var>policy</var> into <var>clone</var>'s <span
data-x="policy-container-csp-list">CSP list</span>.</p></li>

<li><p>Set <var>clone</var>'s <span data-x="policy-container-document-policy">document
policy</span> to a copy of <var>policyContainer</var>'s <span
data-x="policy-container-document-policy">document policy</span>.</p></li>

<li><p>Set <var>clone</var>'s <span data-x="policy-container-embedder-policy">embedder
policy</span> to a copy of <var>policyContainer</var>'s <span
data-x="policy-container-embedder-policy">embedder policy</span>.</p></li>
Expand Down Expand Up @@ -94861,6 +94877,10 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
result of <span data-x="parse-response-csp">parsing a response's Content Security Policies</span>
given <var>response</var>.</p></li>

<li><p>Set <var>result</var>'s <span data-x="policy-container-document-policy">document
policy</span> to the result of <span data-x="parse-document-policy-header">parsing the
`<code>Document-Policy</code>` header</span> given <var>response</var>.</p></li>

<li><p>If <var>environment</var> is non-null, then set <var>result</var>'s <span
data-x="policy-container-embedder-policy">embedder policy</span> to the result of <span
data-x="obtain an embedder policy">obtaining an embedder policy</span> given <var>response</var>
Expand Down Expand Up @@ -157033,6 +157053,7 @@ INSERT INTERFACES HERE
Mohammad Al Houssami,
Mohammad Reza Zakerinasab,
Momdo Nakamura,
Monica Chintala,
Morten Stenshorne,
Mounir Lamouri,
Ms2ger,
Expand Down