Skip to content

Commit 46ae199

Browse files
Use fetch's environment is offline
1 parent 1e3feca commit 46ae199

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

source

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2675,6 +2675,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
26752675
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#credentials">credentials</dfn></li>
26762676
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#reserve-deferred-fetch-quota">reserve deferred fetch quota</dfn></li>
26772677
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#reserve-deferred-fetch-quota">potentially free deferred fetch quota</dfn></li>
2678+
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#is-offline">is offline</dfn></li>
26782679
<li>
26792680
<dfn data-x="concept-response"
26802681
data-x-href="https://fetch.spec.whatwg.org/#concept-response">response</dfn> and its
@@ -4696,7 +4697,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
46964697
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed">WebDriver BiDi user prompt closed</dfn></li>
46974698
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened">WebDriver BiDi user prompt opened</dfn></li>
46984699
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened">WebDriver BiDi file dialog opened</dfn></li>
4699-
<li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-network-is-offline">WebDriver BiDi network is offline</dfn></li>
47004700
</ul>
47014701
</dd>
47024702

@@ -125584,16 +125584,9 @@ interface <dfn interface>Navigator</dfn> {
125584125584

125585125585
<div algorithm>
125586125586
<p>The <dfn attribute for="NavigatorOnLine"><code
125587-
data-x="dom-navigator-onLine">onLine</code></dfn> attribute must return false
125588-
if one of the following conditions are true, and must return true otherwise:</p>
125589-
125590-
<ul>
125591-
<li>The user agent will not contact the network when the user follows links or when a script
125592-
requests a remote page (or knows that such an attempt would fail)</li>
125593-
125594-
<li>The result of <span>WebDriver BiDi network is offline</span> with <span>this</span>'s
125595-
<span>relevant settings object</span> is true.</li>
125596-
</ul>
125587+
data-x="dom-navigator-onLine">onLine</code></dfn> attribute must return false if
125588+
<span>this</span>'s <span>relevant settings object</span> <span>is offline</span>, and must
125589+
return true otherwise.
125597125590
</div>
125598125591

125599125592
<div algorithm>

0 commit comments

Comments
 (0)