Re: [whatwg/fetch] [WebDriver BiDi] emulated network offline (PR #1852)

@annevk approved this pull request.



> @@ -412,6 +412,17 @@ steps:
 </ol>
 </div>
 
+<div algorithm>
+<p>To check if the <a>environment settings object</a> <var>environment</var>
+<dfn export lt="environment is offline">is offline</dfn>:

```suggestion
<dfn export>is offline</dfn>:
```

> @@ -412,6 +412,17 @@ steps:
 </ol>
 </div>
 
+<div algorithm>
+<p>To check if the <a>environment settings object</a> <var>environment</var>
+<dfn export lt="environment is offline">is offline</dfn>:
+
+<ul>
+ <li><p>If the user agent assumes it does not have internet connectivity, then return true.</li>

```suggestion
 <li><p>If the user agent assumes it does not have internet connectivity, then return true.
```

> + <li><p>If <var>request</var>'s <a for=request>client</a> [=environment is offline|is offline=],
+ then return a <a>network error</a>.

```suggestion
 <li><p>If <var>request</var>'s <a for=request>client</a> <a>is offline</a>, then return a
 <a>network error</a>.
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1852#pullrequestreview-3323597252
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1852/review/3323597252@github.com>

Received on Friday, 10 October 2025 13:43:29 UTC