Skip to content

Commit a5e1501

Browse files
committed
Editorial: move COOP access report endpoint checks
"Queue violation reports for accesses" started with steps that used coop, coopValue, and disposition, none of which it defines. Move the null reporting endpoint check into the "access to" report algorithms, as the "access from" ones already have it, and remove the rest. Also remove a stray comma nearby. This is a follow-up to aa347f3.
1 parent fcc6b53 commit a5e1501

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

‎source‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94974,7 +94974,7 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
9497494974
<var>isInitialAboutBlank</var>, <var>responseOrigin</var>,
9497594975
<var>currentCOOPEnforcementResult</var>'s <span data-x="coop-enforcement-origin">origin</span>,
9497694976
<var>responseCOOP</var>, and <var>currentCOOPEnforcementResult</var>'s <span
94977-
data-x="coop-enforcement-coop">opener policy</span>, is true:</p>
94977+
data-x="coop-enforcement-coop">opener policy</span> is true:</p>
9497894978

9497994979
<ol>
9498094980
<li><p>Set <var>newCOOPEnforcementResult</var>'s <span data-x="coop-enforcement-bcg-switch-report-only">would
@@ -95410,16 +95410,6 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
9541095410
object</span> <var>environment</var>:</p>
9541195411

9541295412
<ol>
95413-
<li><p>If <var>coop</var>'s <span data-x="coop-struct-report-endpoint">reporting endpoint</span>
95414-
is null, return.</p></li>
95415-
95416-
<li><p>Let <var>coopValue</var> be <var>coop</var>'s <span
95417-
data-x="coop-struct-value">value</span>.</p></li>
95418-
95419-
<li><p>If <var>disposition</var> is "<code data-x="">reporting</code>", then set
95420-
<var>coopValue</var> to <var>coop</var>'s <span
95421-
data-x="coop-struct-report-only-value">report-only value</span>.</p></li>
95422-
9542395413
<li>
9542495414
<p>If <var>accessorAccessedRelationship</var> is <span
9542595415
data-x="accessor-accessed-opener">accessor is opener</span>:</p>
@@ -95483,6 +95473,9 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
9548395473
<var>referrer</var>, and an <span>environment settings object</span> <var>environment</var>:</p>
9548495474

9548595475
<ol>
95476+
<li><p>If <var>coop</var>'s <span data-x="coop-struct-report-endpoint">reporting endpoint</span>
95477+
is null, then return.</p></li>
95478+
9548695479
<li><p>Let <var>sourceFile</var>, <var>lineNumber</var>, and <var>columnNumber</var> be the
9548795480
relevant script URL and problematic position which triggered this report.</p></li>
9548895481

@@ -95562,6 +95555,9 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
9556295555
<var>environment</var>:</p>
9556395556

9556495557
<ol>
95558+
<li><p>If <var>coop</var>'s <span data-x="coop-struct-report-endpoint">reporting endpoint</span>
95559+
is null, then return.</p></li>
95560+
9556595561
<li><p>Let <var>sourceFile</var>, <var>lineNumber</var>, and <var>columnNumber</var> be the
9556695562
relevant script URL and problematic position which triggered this report.</p></li>
9556795563

@@ -95637,6 +95633,9 @@ interface <dfn interface data-x="dom-Origin-interface">Origin</dfn> {
9563795633
<var>environment</var>:</p>
9563895634

9563995635
<ol>
95636+
<li><p>If <var>coop</var>'s <span data-x="coop-struct-report-endpoint">reporting endpoint</span>
95637+
is null, then return.</p></li>
95638+
9564095639
<li><p>Let <var>sourceFile</var>, <var>lineNumber</var>, and <var>columnNumber</var> be the
9564195640
relevant script URL and problematic position which triggered this report.</p></li>
9564295641

0 commit comments

Comments
 (0)