Skip to content

Commit cb5185a

Browse files
Try to access [=default User-Agent value=] callees
1 parent e211784 commit cb5185a

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
@@ -209,6 +209,8 @@ spec: SCREEN-ORIENTATION; urlPrefix: https://www.w3.org/TR/screen-orientation
209209
spec: FETCH; urlPrefix: https://fetch.spec.whatwg.org/
210210
type: dfn
211211
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
212214
spec: HTML; urlPrefix: https://html.spec.whatwg.org/multipage/
213215
type: dfn
214216
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/
238240
text: navigable; for:window; url: nav-history-apis.html#window-navigable
239241
text: navigables; url: document-sequences.html#navigables
240242
text: navigation id; url: browsing-the-web.html#navigation-id
243+
text: NavigatorID; url: system-state.html#navigatorid
241244
text: ongoing-navigation; url: browsing-the-web.html#ongoing-navigation
242245
text: origin-clean; url: canvas.html#concept-canvas-origin-clean
243246
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
62306233
WebDriver-BiDi [=remote end=] must have an implementation that runs the following
62316234
steps:
62326235

6233-
Issue: get |related navigables|.
6236+
1. Let |related navigables| be an empty list.
62346237

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

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

0 commit comments

Comments
 (0)