Skip to content

Commit 5650b77

Browse files
authored
Drop a reference to Request's synchronous flag, which was removed from the Fetch spec. (#47)
1 parent f32348b commit 5650b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

response-code-reliability.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To <dfn export>test the reliability of an origin's response status codes</dfn> g
5656
1. Let |status reliability queue| be the result of [=starting a new parallel queue=].
5757
1. [=Enqueue the following steps=] to |status reliability queue|:
5858
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|.
59-
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"`.
59+
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"`.
6060
1. Let |response| be the result of performing a [=/fetch=] using |request|.
6161
1. If |response| is a [=network error=], [=reject=] |p|.
6262
1. If |response|'s [=response/status=] is an [=ok status=], [=reject=] |p|. Otherwise, [=/resolve=] |p|.

0 commit comments

Comments
 (0)