From 5650b772595b7ec63b41fc9b7b88c6adf9aa6d82 Mon Sep 17 00:00:00 2001 From: Theresa O'Connor Date: Mon, 3 Jun 2024 13:14:22 -0700 Subject: [PATCH] Drop a reference to Request's synchronous flag, which was removed from the Fetch spec. (#47) --- 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|.