Skip to content

Commit b7393ef

Browse files
Editorial: validate proxy in browser.createUserContext (#988)
1 parent e5c0819 commit b7393ef

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ spec: WEBDRIVER; urlPrefix: https://w3c.github.io/webdriver/
7474
text: cookie value; url: dfn-cookie-value
7575
text: create a cookie; url: dfn-creating-a-cookie
7676
text: create a session; url: dfn-create-a-session
77+
text: deserialize as a proxy; url: dfn-deserialize-as-a-proxy
7778
text: dispatch actions; url: dfn-dispatch-actions
7879
text: dispatch tick actions; url: dfn-dispatch-tick-actions
7980
text: draw a bounding box from the framebuffer; url: dfn-draw-a-bounding-box-from-the-framebuffer
@@ -102,7 +103,7 @@ spec: WEBDRIVER; urlPrefix: https://w3c.github.io/webdriver/
102103
text: parse a page range; url: dfn-parse-a-page-range
103104
text: handler; for: prompt handler configuration; url: dfn-handler
104105
text: process capabilities; url: dfn-capabilities-processing
105-
text: proxy configuration; url: dfn-proxy-configuration
106+
text: proxy configuration object; url: dfn-proxy-configuration-object
106107
text: readiness state; url: dfn-readiness-state
107108
text: remote end steps; url: dfn-remote-end-steps
108109
text: remote end; url: dfn-remote-ends
@@ -1539,7 +1540,7 @@ A [=BiDi session=] has a
15391540
[=/map=] between [=user contexts=] and boolean.
15401541

15411542
A [=BiDi session=] has a <dfn>user context to proxy configuration map</dfn>, which is
1542-
a [=/map=] between [=user contexts=] and [=proxy configuration=].
1543+
a [=/map=] between [=user contexts=] and [=proxy configuration object=].
15431544

15441545
When a [=user context=] is [=set/remove|removed=] from the
15451546
[=set of user contexts=], [=remove user context subscriptions=].
@@ -2758,7 +2759,8 @@ The [=remote end steps=] with |session| and |command parameters| are:
27582759

27592760
1. If |command parameters| [=map/contains=] "<code>proxy</code>":
27602761

2761-
1. Let |proxy configuration| be |command parameters|["<code>proxy</code>"].
2762+
1. Let |proxy configuration| be the result of [=trying=] to [=deserialize as a proxy=] with
2763+
|command parameters|["<code>proxy</code>"].
27622764

27632765
1. If the [=remote end=] is unable to configure proxy settings per [=user context=],
27642766
or is unable to configure the proxy with |proxy configuration|, return [=error=] with

0 commit comments

Comments
 (0)