@@ -209,6 +209,8 @@ spec: SCREEN-ORIENTATION; urlPrefix: https://www.w3.org/TR/screen-orientation
209
209
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
210
210
type: dfn
211
211
text: default User-Agent value; url: #default-user-agent-value
212
+ text: HTTP-network-or-cache fetch; url: #concept-http-network-or-cache-fetch
213
+ text: request; url: #fetch-params-request
212
214
spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
213
215
type: dfn
214
216
text: 2D context creation algorithm; url: canvas.html#2d-context-creation-algorithm
@@ -238,6 +240,7 @@ spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
238
240
text: navigable; for:window; url: nav-history-apis.html#window-navigable
239
241
text: navigables; url: document-sequences.html#navigables
240
242
text: navigation id; url: browsing-the-web.html#navigation-id
243
+ text: NavigatorID; url: system-state.html#navigatorid
241
244
text: ongoing-navigation; url: browsing-the-web.html#ongoing-navigation
242
245
text: origin-clean; url: canvas.html#concept-canvas-origin-clean
243
246
text: parent; for:navigable; url: document-sequences.html#nav-parent
@@ -6230,10 +6233,26 @@ The [=default User-Agent value=] getter steps is implementation defined. A
6230
6233
WebDriver-BiDi [=remote end=] must have an implementation that runs the following
6231
6234
steps:
6232
6235
6233
- Issue: get |related navigables|.
6236
+ 1. Let |related navigables| be an empty list .
6234
6237
6235
- 1. Let |related navigables| be the implementation-defined list of navigables related
6236
- to the caller of these steps.
6238
+ 1. If [=default User-Agent value=] was accessed during execution of the
6239
+ [=HTTP-network-or-cache fetch=] algorithm with |fetchParams|:
6240
+
6241
+ 1. Let |request| be |fetchParams|’s [=request=] .
6242
+
6243
+ 1. If |request|'s [=request/client=] is not null, let |related navigables|
6244
+ be the result of [=get related navigables=] with |request|'s
6245
+ [=request/client=] .
6246
+
6247
+ 1. If [=default User-Agent value=] was accessed from [=NavigatorID=] interface:
6248
+
6249
+ 1. Let |realm| be [=current Realm Record=] .
6250
+
6251
+ 1. Let |environment settings| be the [=environment settings object=] whose
6252
+ [=realm execution context=] 's Realm component is |realm|.
6253
+
6254
+ 1. Let |related navigables| be the result of [=get related navigables=] given
6255
+ |environment settings|.
6237
6256
6238
6257
1. Let |emulated user agent| be the result of [=get emulated user agent=] given
6239
6258
|related navigables|.
0 commit comments