Skip to content

Commit 8e58626

Browse files
committed
Address review feedback on language override of navigator.language/s.
1 parent 0bb6361 commit 8e58626

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
@@ -125562,7 +125562,7 @@ interface <dfn interface>Navigator</dfn> {
125562125562
<li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125563125563
<span>this</span>'s <span>relevant settings object</span>.</li>
125564125564

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

125567125567
<li>Return a valid BCP 47 language tag representing either <span>a plausible language</span> or
125568125568
the user's most preferred language. <ref>BCP47</ref></li>
@@ -125577,16 +125577,15 @@ interface <dfn interface>Navigator</dfn> {
125577125577
<li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125578125578
<span>this</span>'s <span>relevant settings object</span>.</li>
125579125579

125580-
<li>If <var>emulatedLanguage</var> is not null, return a <span>frozen array</span> containing
125580+
<li>If <var>emulatedLanguage</var> is not null, then return a <span>frozen array</span> containing
125581125581
<var>emulatedLanguage</var>.</li>
125582125582

125583125583
<li>Return a <span>frozen array</span> of valid BCP 47 language tags representing either one or
125584125584
more <span data-x="a plausible language">plausible languages</span>, or the user's preferred
125585-
languages, ordered by preference with the most preferred language first. <ref>BCP47</ref></li>
125585+
languages, ordered by preference with the most preferred language first. The same object must be
125586+
returned until the user agent needs to return different values, or values in a different order,
125587+
or <var>emulatedLanguage</var> is updated. <ref>BCP47</ref></li>
125586125588
</ol>
125587-
125588-
<p>The same object must be returned until the user agent needs to return different values, or
125589-
values in a different order, or <var>emulatedLanguage</var> is updated.</p>
125590125589
</div>
125591125590

125592125591
<div algorithm>

0 commit comments

Comments
 (0)