@@ -206,6 +206,8 @@ spec: SCREEN-ORIENTATION; urlPrefix: https://www.w3.org/TR/screen-orientation
206
206
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
207
207
type: dfn
208
208
text: default User-Agent value; url: #default-user-agent-value
209
+ text: HTTP-network-or-cache fetch; url: #concept-http-network-or-cache-fetch
210
+ text: request; url: #fetch-params-request
209
211
spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
210
212
type: dfn
211
213
text: 2D context creation algorithm; url: canvas.html#2d-context-creation-algorithm
@@ -235,6 +237,7 @@ spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
235
237
text: navigable; for:window; url: nav-history-apis.html#window-navigable
236
238
text: navigables; url: document-sequences.html#navigables
237
239
text: navigation id; url: browsing-the-web.html#navigation-id
240
+ text: NavigatorID; url: system-state.html#navigatorid
238
241
text: ongoing-navigation; url: browsing-the-web.html#ongoing-navigation
239
242
text: origin-clean; url: canvas.html#concept-canvas-origin-clean
240
243
text: parent; for:navigable; url: document-sequences.html#nav-parent
@@ -6187,10 +6190,26 @@ The [=default User-Agent value=] getter steps is implementation defined. A
6187
6190
WebDriver-BiDi [=remote end=] must have an implementation that runs the following
6188
6191
steps:
6189
6192
6190
- Issue: get |related navigables|.
6193
+ 1. Let |related navigables| be an empty list .
6191
6194
6192
- 1. Let |related navigables| be the implementation-defined list of navigables related
6193
- to the caller of these steps.
6195
+ 1. If [=default User-Agent value=] was accessed during execution of the
6196
+ [=HTTP-network-or-cache fetch=] algorithm with |fetchParams|:
6197
+
6198
+ 1. Let |request| be |fetchParams|’s [=request=] .
6199
+
6200
+ 1. If |request|'s [=request/client=] is not null, let |related navigables|
6201
+ be the result of [=get related navigables=] with |request|'s
6202
+ [=request/client=] .
6203
+
6204
+ 1. If [=default User-Agent value=] was accessed from [=NavigatorID=] interface:
6205
+
6206
+ 1. Let |realm| be [=current Realm Record=] .
6207
+
6208
+ 1. Let |environment settings| be the [=environment settings object=] whose
6209
+ [=realm execution context=] 's Realm component is |realm|.
6210
+
6211
+ 1. Let |related navigables| be the result of [=get related navigables=] given
6212
+ |environment settings|.
6194
6213
6195
6214
1. Let |emulated user agent| be the result of [=get emulated user agent=] given
6196
6215
|related navigables|.
0 commit comments