From 97ee93955bd6347b0ea1f89941b015e805ce64aa Mon Sep 17 00:00:00 2001 From: Yutaka Hirano Date: Thu, 20 Aug 2020 15:12:49 +0900 Subject: [PATCH] Give the empty destination to the CORP check https://github.com/whatwg/fetch/pull/1079 added the parameter to the check. Here we provide the empty string, because request's destination is not very meaningful here. --- docs/index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.bs b/docs/index.bs index 991e797b..e6c656e0 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -1875,7 +1875,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe 1. [=list/For each=] |requestResponse| of |requestResponses|: 1. Add a copy of |requestResponse|'s response to |responses|. 1. [=list/For each=] |response| of |responses|: - 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 blocked, then reject |promise| with a `TypeError` and abort these steps. + 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 blocked, then reject |promise| with a `TypeError` and abort these steps. 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: 1. Let |responseList| be a [=list=]. 1. [=list/For each=] |response| of |responses|: