Skip to content

Commit bd58fec

Browse files
authored
Fix reference to global's document (#703)
1 parent affe7a7 commit bd58fec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
825825
origin to avoid unintentional leakage.
826826

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

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

0 commit comments

Comments
 (0)