@@ -210,6 +210,8 @@ spec: SCREEN-ORIENTATION; urlPrefix: https://www.w3.org/TR/screen-orientation
210
210
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
211
211
type: dfn
212
212
text: default User-Agent value; url: #default-user-agent-value
213
+ text: HTTP-network-or-cache fetch; url: #concept-http-network-or-cache-fetch
214
+ text: request; url: #fetch-params-request
213
215
spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
214
216
type: dfn
215
217
text: 2D context creation algorithm; url: canvas.html#2d-context-creation-algorithm
@@ -239,6 +241,7 @@ spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
239
241
text: navigable; for:window; url: nav-history-apis.html#window-navigable
240
242
text: navigables; url: document-sequences.html#navigables
241
243
text: navigation id; url: browsing-the-web.html#navigation-id
244
+ text: NavigatorID; url: system-state.html#navigatorid
242
245
text: ongoing-navigation; url: browsing-the-web.html#ongoing-navigation
243
246
text: origin-clean; url: canvas.html#concept-canvas-origin-clean
244
247
text: parent; for:navigable; url: document-sequences.html#nav-parent
@@ -6321,10 +6324,26 @@ The [=default User-Agent value=] getter steps is implementation defined. A
6321
6324
WebDriver-BiDi [=remote end=] must have an implementation that runs the following
6322
6325
steps:
6323
6326
6324
- Issue: get |related navigables|.
6327
+ 1. Let |related navigables| be an empty list .
6325
6328
6326
- 1. Let |related navigables| be the implementation-defined list of navigables related
6327
- to the caller of these steps.
6329
+ 1. If [=default User-Agent value=] was accessed during execution of the
6330
+ [=HTTP-network-or-cache fetch=] algorithm with |fetchParams|:
6331
+
6332
+ 1. Let |request| be |fetchParams|’s [=request=] .
6333
+
6334
+ 1. If |request|'s [=request/client=] is not null, let |related navigables|
6335
+ be the result of [=get related navigables=] with |request|'s
6336
+ [=request/client=] .
6337
+
6338
+ 1. If [=default User-Agent value=] was accessed from [=NavigatorID=] interface:
6339
+
6340
+ 1. Let |realm| be [=current Realm Record=] .
6341
+
6342
+ 1. Let |environment settings| be the [=environment settings object=] whose
6343
+ [=realm execution context=] 's Realm component is |realm|.
6344
+
6345
+ 1. Let |related navigables| be the result of [=get related navigables=] given
6346
+ |environment settings|.
6328
6347
6329
6348
1. Let |emulated user agent| be the result of [=get emulated user agent=] given
6330
6349
|related navigables|.
0 commit comments