Skip to content

Commit

Permalink
Fix reference to global's document (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
antosart authored Jan 23, 2025
1 parent affe7a7 commit bd58fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
origin to avoid unintentional leakage.

3. If |global| is a {{Window}} object, set |violation|'s
<a for="violation">referrer</a> to |global|'s {{Window/document}}'s
<a for="violation">referrer</a> to |global|'s [=associated document|document=]'s
{{Document/referrer}}.

4. Set |violation|'s <a for="violation">status</a> to the HTTP status code
Expand Down Expand Up @@ -1123,7 +1123,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
1. Let |global| be the |request|'s [=request/client=]'s [=/global object=].
1. If |global| is not a {{Window}}, return.
1. Let |stripped document URL| to be the result of executing [[#strip-url-for-use-in-reports]]
on |global|'s [=document=]'s [=Document/URL=].
on |global|'s [=associated document|document=]'s [=Document/URL=].
1. If |policy|'s [=directive set=] does not contain a [=directive=] named "report-to", return.
1. Let |report-to directive| be a [=directive=] named "report-to" from |policy|'s [=directive
set=].
Expand Down

0 comments on commit bd58fec

Please sign in to comment.