Skip to content

Commit 6aff826

Browse files
fix contexts throughout emulations
1 parent e13e003 commit 6aff826

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6374,7 +6374,7 @@ The [=remote end steps=] given |session| and |command parameters| are:
63746374

63756375
1. Set |emulated user agent| to |command parameters|["<code>userAgent</code>"].
63766376

6377-
1. If |command parameters| [=map/contains=] "<code>context</code>":
6377+
1. If |command parameters| [=map/contains=] "<code>contexts</code>":
63786378

63796379
1. Let |navigables| be the result of [=trying=] to
63806380
[=get valid top-level traversables by ids=] with
@@ -6477,11 +6477,11 @@ The <dfn export>WebDriver BiDi scripting is enabled</dfn> steps given
64776477
The [=remote end steps=] with |command parameters| are:
64786478

64796479
1. If |command parameters| [=map/contains=] "<code>userContexts</code>"
6480-
and |command parameters| [=map/contains=] "<code>context</code>",
6480+
and |command parameters| [=map/contains=] "<code>contexts</code>",
64816481
return [=error=] with [=error code=] [=invalid argument=].
64826482

64836483
1. If |command parameters| doesn't [=map/contain=] "<code>userContexts</code>"
6484-
and |command parameters| doesn't [=map/contain=] "<code>context</code>",
6484+
and |command parameters| doesn't [=map/contain=] "<code>contexts</code>",
64856485
return [=error=] with [=error code=] [=invalid argument=].
64866486

64876487
1. Let |emulated scripting enabled status| be null.
@@ -6586,11 +6586,11 @@ steps:
65866586
The [=remote end steps=] with |command parameters| are:
65876587

65886588
1. If |command parameters| [=map/contains=] "<code>userContexts</code>"
6589-
and |command parameters| [=map/contains=] "<code>context</code>",
6589+
and |command parameters| [=map/contains=] "<code>contexts</code>",
65906590
return [=error=] with [=error code=] [=invalid argument=].
65916591

65926592
1. If |command parameters| doesn't [=map/contain=] "<code>userContexts</code>"
6593-
and |command parameters| doesn't [=map/contain=] "<code>context</code>",
6593+
and |command parameters| doesn't [=map/contain=] "<code>contexts</code>",
65946594
return [=error=] with [=error code=] [=invalid argument=].
65956595

65966596
1. Let |emulated timezone| be null.

0 commit comments

Comments
 (0)