Skip to content

Commit 2283b57

Browse files
Add "WebDriver BiDi network is offline" hook
1 parent d6e9198 commit 2283b57

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

index.bs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9472,6 +9472,23 @@ and |user context| are:
94729472

94739473
</div>
94749474

9475+
<div algorithm>
9476+
The <dfn export>WebDriver BiDi network is offline</dfn> steps given
9477+
[=environment settings object=] |settings| are:
9478+
9479+
1. Let |navigable| be |settings|'s [=relevant global object=]'s
9480+
<a>associated <code>Document</code></a>'s [=/node navigable=].
9481+
9482+
1. Let |emulated network conditions| be the result of
9483+
[=get emulated network conditions=] with [|navigable|].
9484+
9485+
1. If |emulated network conditions| is not null and |emulated network conditions|'s
9486+
[=emulated-network-conditions-struct/offline=] is true, return true.
9487+
9488+
1. Return false.
9489+
9490+
</div>
9491+
94759492
<div algorithm>
94769493
The steps to <dfn>get emulated network conditions</dfn> given |related navigables|
94779494
are:

0 commit comments

Comments
 (0)