@@ -4697,6 +4697,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
46974697 <li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-closed">WebDriver BiDi user prompt closed</dfn></li>
46984698 <li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-user-prompt-opened">WebDriver BiDi user prompt opened</dfn></li>
46994699 <li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-file-dialog-opened">WebDriver BiDi file dialog opened</dfn></li>
4700+ <li><dfn data-x-href="https://w3c.github.io/webdriver-bidi/#webdriver-bidi-emulated-language">WebDriver BiDi emulated language</dfn></li>
47004701 </ul>
47014702 </dd>
47024703
@@ -125529,19 +125530,37 @@ interface <dfn interface>Navigator</dfn> {
125529125530
125530125531 <div algorithm>
125531125532 <p>The <dfn attribute for="NavigatorLanguage"><code
125532- data-x="dom-navigator-language">language</code></dfn> getter steps are to return a valid BCP 47
125533- language tag representing either <span>a plausible language</span> or the user's most preferred
125534- language. <ref>BCP47</ref></p>
125533+ data-x="dom-navigator-language">language</code></dfn> getter steps are:</p>
125534+
125535+ <ol>
125536+ <li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125537+ <span>this</span>'s <span>relevant settings object</span></li>
125538+
125539+ <li>If <var>emulatedLanguage</var> is not null, return <var>emulatedLanguage</var>.</li>
125540+
125541+ <li>Return a valid BCP 47 language tag representing either <span>a plausible language</span> or
125542+ the user's most preferred language. <ref>BCP47</ref>.</li>
125543+ </ol>
125535125544 </div>
125536125545
125537125546 <div algorithm>
125538125547 <p>The <dfn attribute for="NavigatorLanguage"><code
125539- data-x="dom-navigator-languages">languages</code></dfn> getter steps are to
125540- return a <span>frozen array</span> of valid BCP 47 language tags representing either one
125541- or more <span data-x="a plausible language">plausible languages</span>, or the user's preferred
125542- languages, ordered by preference with the most preferred language first. The same object must be
125543- returned until the user agent needs to return different values, or values in a different order.
125544- <ref>BCP47</ref></p>
125548+ data-x="dom-navigator-languages">languages</code></dfn> getter steps are:</p>
125549+
125550+ <ol>
125551+ <li>Let <var>emulatedLanguage</var> be the <span>WebDriver BiDi emulated language</span> for
125552+ <span>this</span>'s <span>relevant settings object</span></li>
125553+
125554+ <li>If <var>emulatedLanguage</var> is not null, return a <span>frozen array</span> containing
125555+ <var>emulatedLanguage</var>.</li>
125556+
125557+ <li>Return a <span>frozen array</span> of valid BCP 47 language tags representing either one or
125558+ 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>
125560+ </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>
125545125564 </div>
125546125565
125547125566 <div algorithm>
@@ -155845,6 +155864,7 @@ INSERT INTERFACES HERE
155845155864 Abhishek Ghaskata,
155846155865 Abhishek Gupta, <!-- a1626 on GitHub -->
155847155866 Adam Barth,
155867+ Alexandra Borovova,
155848155868 Adam de Boor,
155849155869 Adam Hepton,
155850155870 Adam Klein,
0 commit comments