[html5] r7746 - [] (3) Default navigator.language to 'en' instead of null. Fixing https://www.w3 [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Mar 8 15:47:44 PST 2013


Author: ianh
Date: 2013-03-08 15:47:43 -0800 (Fri, 08 Mar 2013)
New Revision: 7746

Modified:
   complete.html
   index
   source
Log:
[] (3) Default navigator.language to 'en' instead of null.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17878
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-03-08 23:38:06 UTC (rev 7745)
+++ complete.html	2013-03-08 23:47:43 UTC (rev 7746)
@@ -73140,12 +73140,12 @@
 
   <dl><!--
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
-   <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the language the browser uses in its interface.</p></dd>
 
 
    <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    --><!-- at time of testing, this was supported by Opera, Safari, and Mozilla only --><dt><dfn id=dom-navigator-language title=dom-navigator-language><code>language</code></dfn></dt>
-   <dd><p>Must return either null or a language tag representing the user's preferred language.</dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</dd>
 
   </dl><p class=warning>As for the API in the previous section, any information in this API that varies
   from user to user can be used to profile or identify the user. For this reason, user agent

Modified: index
===================================================================
--- index	2013-03-08 23:38:06 UTC (rev 7745)
+++ index	2013-03-08 23:47:43 UTC (rev 7746)
@@ -73140,12 +73140,12 @@
 
   <dl><!--
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
-   <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the language the browser uses in its interface.</p></dd>
 
 
    <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    --><!-- at time of testing, this was supported by Opera, Safari, and Mozilla only --><dt><dfn id=dom-navigator-language title=dom-navigator-language><code>language</code></dfn></dt>
-   <dd><p>Must return either null or a language tag representing the user's preferred language.</dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</dd>
 
   </dl><p class=warning>As for the API in the previous section, any information in this API that varies
   from user to user can be used to profile or identify the user. For this reason, user agent

Modified: source
===================================================================
--- source	2013-03-08 23:38:06 UTC (rev 7745)
+++ source	2013-03-08 23:47:43 UTC (rev 7746)
@@ -85062,14 +85062,14 @@
 
    <!--
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
-   <dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the language the browser uses in its interface.</p></dd>
 
 
    <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    -->
    <!-- at time of testing, this was supported by Opera, Safari, and Mozilla only -->
    <dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt>
-   <dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</p></dd>
 
   </dl>
 




More information about the Commit-Watchers mailing list