Skip to content

Commit 322cfa0

Browse files
committed
Address review feedback on language override of navigator.language/s.
1 parent 547f804 commit 322cfa0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

source

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125536,7 +125536,7 @@ interface <dfn interface>Navigator</dfn> {
125536125536
<li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125537125537
<span>this</span>'s <span>relevant settings object</span></li>
125538125538

125539-
<li>If <var>emulatedLanguage</var> is not null, return <var>emulatedLanguage</var>.</li>
125539+
<li>If <var>emulatedLanguage</var> is not null, then return <var>emulatedLanguage</var>.</li>
125540125540

125541125541
<li>Return a valid BCP 47 language tag representing either <span>a plausible language</span> or
125542125542
the user's most preferred language. <ref>BCP47</ref>.</li>
@@ -125551,16 +125551,15 @@ interface <dfn interface>Navigator</dfn> {
125551125551
<li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125552125552
<span>this</span>'s <span>relevant settings object</span></li>
125553125553

125554-
<li>If <var>emulatedLanguage</var> is not null, return a <span>frozen array</span> containing
125554+
<li>If <var>emulatedLanguage</var> is not null, then return a <span>frozen array</span> containing
125555125555
<var>emulatedLanguage</var>.</li>
125556125556

125557125557
<li>Return a <span>frozen array</span> of valid BCP 47 language tags representing either one or
125558125558
more <span data-x="a plausible language">plausible languages</span>, or the user's preferred
125559-
languages, ordered by preference with the most preferred language first. <ref>BCP47</ref></li>
125559+
languages, ordered by preference with the most preferred language first. The same object must be
125560+
returned until the user agent needs to return different values, or values in a different order,
125561+
or <var>emulatedLanguage</var> is updated. <ref>BCP47</ref></li>
125560125562
</ol>
125561-
125562-
<p>The same object must be returned until the user agent needs to return different values, or
125563-
values in a different order, or <var>emulatedLanguage</var> is updated.</p>
125564125563
</div>
125565125564

125566125565
<div algorithm>

0 commit comments

Comments
 (0)