Skip to content

Commit e4c2953

Browse files
authored
Give the empty destination to the CORP check (#1531)
whatwg/fetch#1079 added the parameter to the check. Here we provide the empty string, because request's destination is not very meaningful here.
1 parent 10dabd0 commit e4c2953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
18751875
1. [=list/For each=] |requestResponse| of |requestResponses|:
18761876
1. Add a copy of |requestResponse|'s response to |responses|.
18771877
1. [=list/For each=] |response| of |responses|:
1878-
1. If |response|'s [=response/type=] is "`opaque`" and [=cross-origin resource policy check=] with |promise|'s [=relevant settings object=]'s [=environment settings object/origin=], |promise|'s [=relevant settings object=], and |response|'s [=internal/internal response=] returns <b>blocked</b>, then reject |promise| with a `TypeError` and abort these steps.
1878+
1. If |response|'s [=response/type=] is "`opaque`" and [=cross-origin resource policy check=] with |promise|'s [=relevant settings object=]'s [=environment settings object/origin=], |promise|'s [=relevant settings object=], "", and |response|'s [=internal/internal response=] returns <b>blocked</b>, then reject |promise| with a `TypeError` and abort these steps.
18791879
1. [=Queue a task=], on |promise|'s [=relevant settings object=]'s [=responsible event loop=] using the [=DOM manipulation task source=], to perform the following steps:
18801880
1. Let |responseList| be a [=list=].
18811881
1. [=list/For each=] |response| of |responses|:

0 commit comments

Comments
 (0)