From ce657e230130597d73c6189cf51681b322da64bb Mon Sep 17 00:00:00 2001 From: Theresa O'Connor Date: Fri, 31 May 2024 16:26:13 -0700 Subject: [PATCH] Drop a reference to Request's synchronous flag, which was removed from the Fetch spec. --- response-code-reliability.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/response-code-reliability.bs b/response-code-reliability.bs index 9e56b27..4692158 100644 --- a/response-code-reliability.bs +++ b/response-code-reliability.bs @@ -56,7 +56,7 @@ To test the reliability of an origin's response status codes g 1. Let |status reliability queue| be the result of [=starting a new parallel queue=]. 1. [=Enqueue the following steps=] to |status reliability queue|: 1. Let |url| be the result of calling {{URL(url, base)}} with url "/.well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200" and base |origin|. - 1. Let |request| be a new [=/request=] whose [=request/url=] is |url|, [=request/method=] is `GET`, [=request/synchronous flag=] is set, [=request/origin=] is |origin|, [=request/mode=] is `"same-origin"`, [=request/service-workers mode=] is `"none"`, [=request/credentials mode=] is `"omit"`, [=request/cache mode=] is `"no-store"`, and [=request/redirect mode=] is `"follow"`. + 1. Let |request| be a new [=/request=] whose [=request/url=] is |url|, [=request/method=] is `GET`, [=request/origin=] is |origin|, [=request/mode=] is `"same-origin"`, [=request/service-workers mode=] is `"none"`, [=request/credentials mode=] is `"omit"`, [=request/cache mode=] is `"no-store"`, and [=request/redirect mode=] is `"follow"`. 1. Let |response| be the result of performing a [=/fetch=] using |request|. 1. If |response| is a [=network error=], [=reject=] |p|. 1. If |response|'s [=response/status=] is an [=ok status=], [=reject=] |p|. Otherwise, [=/resolve=] |p|.