@@ -9124,6 +9124,29 @@ and |user context| are:
91249124
91259125</div>
91269126
9127+ <div algorithm>
9128+ The steps to <dfn>get emulated network conditions</dfn> given |related navigables|
9129+ are:
9130+
9131+ 1. For each |navigable| of |related navigables|:
9132+
9133+ 1. Let |top-level traversable| be |navigable|’s [=navigable/top-level traversable=] .
9134+
9135+ 1. Let |user context| be |top-level traversable|'s [=associated user context=] .
9136+
9137+ 1. For each |session| in [=active BiDI sessions=] :
9138+
9139+ 1. If |session|'s [=emulated network conditions map=] [=map/contains=]
9140+ |top-level traversable|, return
9141+ [=emulated network conditions map=] [|top-level traversable|] .
9142+
9143+ 1. If |session|'s [=emulated network conditions map=] [=map/contains=]
9144+ |user context|, return [=emulated network conditions map=] [|user context|] .
9145+
9146+ 1. Return null.
9147+
9148+ </div>
9149+
91279150<div algorithm>
91289151The [=remote end event trigger=] is the <dfn export>WebDriver BiDi before
91299152request sent</dfn> steps given |request|:
@@ -9228,8 +9251,17 @@ request sent</dfn> steps given |request|:
92289251
92299252 Note: While waiting, no further processing of the request occurs.
92309253
9254+ 1. Let |emulated network conditions| be the result of
9255+ [=get emulated network conditions=] with |related navigables|.
9256+
9257+ 1. If |emulated network conditions| is not null and
9258+ |emulated network conditions|["<code>offline</code>"] is true, return
9259+ ([=network error=] , "<code> complete</code> ").
9260+
923192611. Return (|response|, |response status|).
92329262
9263+ Issue: Respect return value in Fetch's "HTTP-network-or-cache fetch" algorithm.
9264+
92339265</div>
92349266
92359267#### The network.fetchError Event #### {#event-network-fetchError}
0 commit comments