Skip to content

Commit

Permalink
"report only" -> "report-only" everywhere (including COEP)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jul 6, 2020
1 parent 609a0e5 commit 6cca0fc
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80047,11 +80047,11 @@ interface <dfn>BarProp</dfn> {
<li><p>A <dfn data-x="coop-struct-report-endpoint">reporting endpoint</dfn>, which is string or
null, initially null.</p></li>

<li><p>A <dfn data-x="coop-struct-report-only-value">report only value</dfn>, which is a <span
<li><p>A <dfn data-x="coop-struct-report-only-value">report-only value</dfn>, which is a <span
data-x="cross-origin opener policy value">cross-origin opener policy value</span>, initially
"<code data-x="coop-unsafe-none">unsafe-none</code>".</p></li>

<li><p>A <dfn data-x="coop-struct-report-only-endpoint">report only reporting endpoint</dfn>,
<li><p>A <dfn data-x="coop-struct-report-only-endpoint">report-only reporting endpoint</dfn>,
which is a string or null, initially null.</p></li>
</ol>

Expand Down Expand Up @@ -80168,29 +80168,29 @@ interface <dfn>BarProp</dfn> {
<li>
<p>If <var>coep</var>'s <span data-x="embedder-policy-value">value</span> is "<code
data-x="coep-require-corp">require-corp</code>" or <var>coep</var>'s <span
data-x="embedder-policy-report-only-value">report only value</span> is "<code
data-x="embedder-policy-report-only-value">report-only value</span> is "<code
data-x="coep-require-corp">require-corp</code>", then set <var>policy</var>'s <span
data-x="coop-struct-report-only-value">report only value</span> to "<code
data-x="coop-struct-report-only-value">report-only value</span> to "<code
data-x="coop-same-origin-plus-COEP">same-origin-plus-COEP</code>".</p>

<p class="note">Report only COOP also considers report only COEP to assign the special
<p class="note">Report only COOP also considers report-only COEP to assign the special
"<code data-x="coop-same-origin-plus-COEP">same-origin-plus-COEP</code>" value. This allows
developers more freedom in the order of deployment of COOP and COEP.</p>
</li>

<li><p>Else, set <var>policy</var>'s <span data-x="coop-struct-report-only-value">report only
<li><p>Else, set <var>policy</var>'s <span data-x="coop-struct-report-only-value">report-only
value</span> to "<code data-x="coop-same-origin">same-origin</code>".</p></li>
</ol>
</li>

<li><p>If <var>parsedItem</var>[0] is "<code
data-x="coop-same-origin-allow-popups">same-origin-allow-popups</code>", then set
<var>policy</var>'s <span data-x="coop-struct-report-only-value">report only value</span> to
<var>policy</var>'s <span data-x="coop-struct-report-only-value">report-only value</span> to
"<code data-x="coop-same-origin-allow-popups">same-origin-allow-popups</code>".</p></li>

<li><p>If <var>parsedItem</var>[1]["<code data-x="coop-report-to">report-to</code>"] <span
data-x="map exists">exists</span> and it is a string, then set <span
data-x="coop-struct-report-only-endpoint">report only reporting endpoint</span> to
data-x="coop-struct-report-only-endpoint">report-only reporting endpoint</span> to
<var>parsedItem</var>[1]["<code data-x="coop-report-to">report-to</code>"].</p></li>
</ol>
</li>
Expand Down Expand Up @@ -80250,7 +80250,7 @@ interface <dfn>BarProp</dfn> {
<var>activeDocumentCOOPReportOnly</var>'s <span
data-x="coop-struct-report-only-value">report-only value</span> is false, then return false.</p>

<p class="note">Matching report only policies allows a website to specify the same report only
<p class="note">Matching report-only policies allows a website to specify the same report-only
cross-origin opener policy on all its pages and not receive violation reports for navigations
between these pages.</p>
</li>
Expand Down Expand Up @@ -80326,7 +80326,7 @@ interface <dfn>BarProp</dfn> {
true.</p></li>

<li><p>If the result of <span data-x="check-bcg-switch-navigation-report-only">checking if
enforcing report only COOP policies would require a browsing context group switch</span> given
enforcing report-only COOP policies would require a browsing context group switch</span> given
<var>isInitialAboutBlank</var>, <var>responseOrigin</var>,
<var>activeDocumentNavigationOrigin</var>, <var>responseCOOP</var>, and
<var>activeDocumentCOOP</var>, is true, set <var>currentCOOPEnforcementResult</var>'s <span
Expand Down Expand Up @@ -80356,13 +80356,13 @@ interface <dfn>BarProp</dfn> {
<var>previousDocumentURL</var>, and "<code data-x="">navigate-to-document</code>".</p></li>

<li><p>If <var>navigationCOOP</var>'s <span
data-x="coop-struct-report-only-endpoint">report only reporting endpoint</span> is not null and
data-x="coop-struct-report-only-endpoint">report-only reporting endpoint</span> is not null and
<var>currentCOOPEnforcementResult</var>'s <span
data-x="coop-enforcement-bcg-switch-report-only">would need a browsing context group switch due
to report-only</span>, <span data-x="coop-violation-navigation">queue a violation report for
browsing context group switch when navigating</span> with <var>navigationCOOP</var>'s <span
data-x="coop-struct-report-only-endpoint">report only reporting endpoint</span>,
<var>navigationCOOP</var>'s <span data-x="coop-struct-report-only-value">report only
data-x="coop-struct-report-only-endpoint">report-only reporting endpoint</span>,
<var>navigationCOOP</var>'s <span data-x="coop-struct-report-only-value">report-only
value</span>, "<code data-x="">reporting</code>", <var>response</var>'s <span
data-x="concept-response-URL">URL</span>, <var>previousDocumentURL</var>, and "<code
data-x="">navigate-to-document</code>".</p></li>
Expand Down Expand Up @@ -80390,7 +80390,7 @@ interface <dfn>BarProp</dfn> {
to report-only</span> is true and <var>browsingContext</var>'s <span>browsing context
group</span>'s <span>browsing context set</span>'s <span data-x="list size">size</span> is
greater than 1, and <var>activeDocumentCOOP</var>'s <span
data-x="coop-struct-report-only-endpoint">report only reporting endpoint</span> is not null,
data-x="coop-struct-report-only-endpoint">report-only reporting endpoint</span> is not null,
then:</p>

<ol>
Expand Down Expand Up @@ -80574,11 +80574,11 @@ interface <dfn>BarProp</dfn> {
data-export="">reporting endpoint</dfn> string, initially the empty string.</p></li>

<li><p>A <dfn data-x="embedder-policy-report-only-value" data-dfn-for="embedder policy"
data-export="">report only value</dfn>, which is an <span>embedder policy value</span>, initially
data-export="">report-only value</dfn>, which is an <span>embedder policy value</span>, initially
"<code data-x="coep-unsafe-none">unsafe-none</code>".</p></li>

<li><p>A <dfn data-x="embedder-policy-report-only-reporting-endpoint" data-dfn-for="embedder
policy" data-export="">report only reporting endpoint</dfn> string, initially the empty
policy" data-export="">report-only reporting endpoint</dfn> string, initially the empty
string.</p></li>
</ul>

Expand Down Expand Up @@ -80689,12 +80689,12 @@ interface <dfn>BarProp</dfn> {
data-x="">require-corp</code>":</p>

<ol>
<li><p>Set <var>policy</var>'s <span data-x="embedder-policy-report-only-value">report only
<li><p>Set <var>policy</var>'s <span data-x="embedder-policy-report-only-value">report-only
value</span> to "<code data-x="coep-require-corp">require-corp</code>".</p></li>.

<li><p>If <var>parsedItem</var>[1]["<code data-x="coep-report-to">report-to</code>"] <span
data-x="map exists">exists</span>, then set <var>policy</var>'s <span
data-x="embedder-policy-report-only-reporting-endpoint">report only reporting endpoint</span>
data-x="embedder-policy-report-only-reporting-endpoint">report-only reporting endpoint</span>
to <var>parsedItem</var>[1]["<code data-x="coep-report-to">report-to</code>"].</p></li>
</ol>
</li>
Expand All @@ -80719,7 +80719,7 @@ interface <dfn>BarProp</dfn> {
data-x="bc-container-document">container document</span>'s <span
data-x="concept-document-embedder-policy">embedder policy</span>.</p></li>

<li><p>If <var>parentPolicy</var>'s <span data-x="embedder-policy-report-only-value">report only
<li><p>If <var>parentPolicy</var>'s <span data-x="embedder-policy-report-only-value">report-only
value</span> is "<code data-x="coep-require-corp">require-corp</code>" and
<var>responsePolicy</var>'s <span data-x="embedder-policy-value">value</span> is "<code
data-x="coep-unsafe-none">unsafe-none</code>", then <span>queue a cross-origin embedder policy
Expand Down Expand Up @@ -80757,13 +80757,13 @@ interface <dfn>BarProp</dfn> {
<li><p>Let <var>ownerPolicy</var> be <var>owner</var>'s <span
data-x="concept-settings-object-embedder-policy">embedder policy</span>.

<li><p>If <var>ownerPolicy</var>'s <span data-x="embedder-policy-report-only-value">report only
<li><p>If <var>ownerPolicy</var>'s <span data-x="embedder-policy-report-only-value">report-only
value</span> is "<code data-x="coep-require-corp">require-corp</code>" and <var>policy</var>'s
<span data-x="embedder-policy-value">value</span> is "<code
data-x="coep-unsafe-none">unsafe-none</code>", then <span>queue a cross-origin embedder policy
inheritance violation</span> with <var>response</var>, "<code data-x="">worker
initialization</code>", <var>owner's policy</var>'s <span
data-x="embedder-policy-report-only-reporting-endpoint">report only reporting endpoint</span>,
data-x="embedder-policy-report-only-reporting-endpoint">report-only reporting endpoint</span>,
and <var>owner</var>.</p></li>

<li><p>If <var>ownerPolicy</var>'s <span data-x="embedder-policy-value">value</span> is "<code
Expand Down

0 comments on commit 6cca0fc

Please sign in to comment.