Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 31 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6213,14 +6213,10 @@ locale on the given top-level traversables or user contexts.
</dd>
</dl>

<div algorithm="updated DefaultLocale steps">
The [=DefaultLocale=] algorithm is implementation defined. A WebDriver-BiDi
[=remote end=] must have an implementation that runs the following steps:

1. Let |realm| be [=current Realm Record=].
<div algorithm>

1. Let |environment settings| be the [=environment settings object=] whose
[=realm execution context=]'s Realm component is |realm|.
To <dfn>get locale override for environment</dfn> given a [=environment settings object=]
|environment settings|:

1. Let |related navigables| be the result of [=get related navigables=] given
|environment settings|.
Expand All @@ -6238,8 +6234,34 @@ The [=DefaultLocale=] algorithm is implementation defined. A WebDriver-BiDi
1. If [=locale overrides map=] [=map/contains=] |user context|, return
[=locale overrides map=][|user context|].

1. Return the result of implementation-defined steps in accordance with the
requirements of the [=DefaultLocale=] specification.
1. Return null

</div>

<div algorithm="updated DefaultLocale steps">
The [=DefaultLocale=] algorithm is implementation defined. A WebDriver-BiDi
[=remote end=] must have an implementation that runs the following steps:

1. Let |realm| be [=current Realm Record=].

1. Let |environment settings| be the [=environment settings object=] whose
[=realm execution context=]'s Realm component is |realm|.

1. Let |locale override| be the result of [=get locale override for environment=] with
|environment settings|.

1. If |locale override| is not null, return |locale override|.
Otherwise, return the result of implementation-defined steps in accordance
with the requirements of the [=DefaultLocale=] specification.

</div>

<div algorithm>
The <dfn export>WebDriver BiDi emulated language</dfn> steps given
[=environment settings object=] |environment settings| are:

1. Return the result of [=get locale override for environment=] with
|environment settings|.

</div>

Expand Down