Skip to content

Commit 45b3081

Browse files
Try to access [=default User-Agent value=] callees
1 parent 3652916 commit 45b3081

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

index.bs

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ spec: SCREEN-ORIENTATION; urlPrefix: https://www.w3.org/TR/screen-orientation
210210
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
211211
type: dfn
212212
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
213215
spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
214216
type: dfn
215217
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/
239241
text: navigable; for:window; url: nav-history-apis.html#window-navigable
240242
text: navigables; url: document-sequences.html#navigables
241243
text: navigation id; url: browsing-the-web.html#navigation-id
244+
text: NavigatorID; url: system-state.html#navigatorid
242245
text: ongoing-navigation; url: browsing-the-web.html#ongoing-navigation
243246
text: origin-clean; url: canvas.html#concept-canvas-origin-clean
244247
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
63216324
WebDriver-BiDi [=remote end=] must have an implementation that runs the following
63226325
steps:
63236326

6324-
Issue: get |related navigables|.
6327+
1. Let |related navigables| be an empty list.
63256328

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|.
63286347

63296348
1. Let |emulated user agent| be the result of [=get emulated user agent=] given
63306349
|related navigables|.

0 commit comments

Comments
 (0)