[html5] r8038 - [giow] (3) Spec navigator.appCodeName (and respec navigator.product) constant(s) [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 8 19:36:57 PDT 2013


Author: ianh
Date: 2013-07-08 19:36:56 -0700 (Mon, 08 Jul 2013)
New Revision: 8038

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Spec navigator.appCodeName (and respec navigator.product) constant(s)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22558
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-07-09 02:32:04 UTC (rev 8037)
+++ complete.html	2013-07-09 02:36:56 UTC (rev 8038)
@@ -73965,14 +73965,13 @@
   <h5 id=client-identification><span class=secno>7.5.1.1 </span>Client identification</h5>
 
   <pre class=idl>[NoInterfaceObject]
-interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
-  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
+interface <dfn id=navigatorid>NavigatorID</dfn> {
+  readonly attribute DOMString <a href=#dom-navigator-appcodename title=dom-navigator-appCodeName>appCodeName</a>;
   readonly attribute DOMString <a href=#dom-navigator-appname title=dom-navigator-appName>appName</a>;
   readonly attribute DOMString <a href=#dom-navigator-appversion title=dom-navigator-appVersion>appVersion</a>;
   readonly attribute DOMString <a href=#dom-navigator-platform title=dom-navigator-platform>platform</a>;
+  readonly attribute DOMString <a href=#dom-navigator-product title=dom-navigator-product>product</a>;
   readonly attribute DOMString <a href=#dom-navigator-useragent title=dom-navigator-userAgent>userAgent</a>;
-
-  const DOMString product = "Gecko"; // for historical reasons
 };</pre>
 
   <p>In certain cases, despite the best efforts of the entire
@@ -73987,8 +73986,13 @@
   current versions; future versions and unknown versions should always
   be assumed to be fully compliant.</p>
 
-  <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appName><a href=#dom-navigator-appname>appName</a></code></dt>
+  <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appCodeName><a href=#dom-navigator-appcodename>appCodeName</a></code></dt>
    <dd>
+    <p>Returns the string "<code title="">Mozilla</code>".</p>
+   </dd>
+
+   <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appName><a href=#dom-navigator-appname>appName</a></code></dt>
+   <dd>
     <p>Returns the name of the browser.</p>
    </dd>
 
@@ -74002,6 +74006,11 @@
     <p>Returns the name of the platform.</p>
    </dd>
 
+   <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-product><a href=#dom-navigator-product>product</a></code></dt>
+   <dd>
+    <p>Returns the string "<code title="">Gecko</code>".</p>
+   </dd>
+
    <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-userAgent><a href=#dom-navigator-useragent>userAgent</a></code></dt>
    <dd>
     <p>Returns the complete User-Agent header.</p>
@@ -74009,10 +74018,12 @@
 
   </dl><div class=impl>
 
-  <dl><!-- redundant
-   <dt><dfn title="dom-navigator-appCodeName"><code>appCodeName</code></dfn></dt>
-   <dd><p>Must return the string "<code title="">Mozilla</code>".</p></dd>
-   --><!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) --><dt><dfn id=dom-navigator-appname title=dom-navigator-appName><code>appName</code></dfn></dt>
+  <dl><dt><dfn id=dom-navigator-appcodename title=dom-navigator-appCodeName><code>appCodeName</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Mozilla</code>".</dd>
+
+   <!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) -->
+
+   <dt><dfn id=dom-navigator-appname title=dom-navigator-appName><code>appName</code></dfn></dt>
    <dd><p>Must return either the string "<code title="">Netscape</code>" or the full name of the browser, e.g. "<code title="">Mellblom Browsernator</code>".</dd>
 
    <dt><dfn id=dom-navigator-appversion title=dom-navigator-appVersion><code>appVersion</code></dfn></dt>
@@ -74025,6 +74036,9 @@
    <dt><dfn id=dom-navigator-platform title=dom-navigator-platform><code>platform</code></dfn></dt>
    <dd><p>Must return either the empty string or a string representing the platform on which the browser is executing, e.g. "<code title="">MacIntel</code>", "<code title="">Win32</code>", "<code title="">FreeBSD i386</code>", "<code title="">WebTV OS</code>".</dd>
 
+   <dt><dfn id=dom-navigator-product title=dom-navigator-product><code>product</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Gecko</code>".</dd>
+
    <!-- productSub: Mozilla and Safari only; returns same as buildID in Mozilla, and returns the fixed string "20030107" in Safari -->
 
    <!-- securityPolicy: Mozilla only; always returns "" -->

Modified: index
===================================================================
--- index	2013-07-09 02:32:04 UTC (rev 8037)
+++ index	2013-07-09 02:36:56 UTC (rev 8038)
@@ -73965,14 +73965,13 @@
   <h5 id=client-identification><span class=secno>7.5.1.1 </span>Client identification</h5>
 
   <pre class=idl>[NoInterfaceObject]
-interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
-  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
+interface <dfn id=navigatorid>NavigatorID</dfn> {
+  readonly attribute DOMString <a href=#dom-navigator-appcodename title=dom-navigator-appCodeName>appCodeName</a>;
   readonly attribute DOMString <a href=#dom-navigator-appname title=dom-navigator-appName>appName</a>;
   readonly attribute DOMString <a href=#dom-navigator-appversion title=dom-navigator-appVersion>appVersion</a>;
   readonly attribute DOMString <a href=#dom-navigator-platform title=dom-navigator-platform>platform</a>;
+  readonly attribute DOMString <a href=#dom-navigator-product title=dom-navigator-product>product</a>;
   readonly attribute DOMString <a href=#dom-navigator-useragent title=dom-navigator-userAgent>userAgent</a>;
-
-  const DOMString product = "Gecko"; // for historical reasons
 };</pre>
 
   <p>In certain cases, despite the best efforts of the entire
@@ -73987,8 +73986,13 @@
   current versions; future versions and unknown versions should always
   be assumed to be fully compliant.</p>
 
-  <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appName><a href=#dom-navigator-appname>appName</a></code></dt>
+  <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appCodeName><a href=#dom-navigator-appcodename>appCodeName</a></code></dt>
    <dd>
+    <p>Returns the string "<code title="">Mozilla</code>".</p>
+   </dd>
+
+   <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-appName><a href=#dom-navigator-appname>appName</a></code></dt>
+   <dd>
     <p>Returns the name of the browser.</p>
    </dd>
 
@@ -74002,6 +74006,11 @@
     <p>Returns the name of the platform.</p>
    </dd>
 
+   <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-product><a href=#dom-navigator-product>product</a></code></dt>
+   <dd>
+    <p>Returns the string "<code title="">Gecko</code>".</p>
+   </dd>
+
    <dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-userAgent><a href=#dom-navigator-useragent>userAgent</a></code></dt>
    <dd>
     <p>Returns the complete User-Agent header.</p>
@@ -74009,10 +74018,12 @@
 
   </dl><div class=impl>
 
-  <dl><!-- redundant
-   <dt><dfn title="dom-navigator-appCodeName"><code>appCodeName</code></dfn></dt>
-   <dd><p>Must return the string "<code title="">Mozilla</code>".</p></dd>
-   --><!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) --><dt><dfn id=dom-navigator-appname title=dom-navigator-appName><code>appName</code></dfn></dt>
+  <dl><dt><dfn id=dom-navigator-appcodename title=dom-navigator-appCodeName><code>appCodeName</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Mozilla</code>".</dd>
+
+   <!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) -->
+
+   <dt><dfn id=dom-navigator-appname title=dom-navigator-appName><code>appName</code></dfn></dt>
    <dd><p>Must return either the string "<code title="">Netscape</code>" or the full name of the browser, e.g. "<code title="">Mellblom Browsernator</code>".</dd>
 
    <dt><dfn id=dom-navigator-appversion title=dom-navigator-appVersion><code>appVersion</code></dfn></dt>
@@ -74025,6 +74036,9 @@
    <dt><dfn id=dom-navigator-platform title=dom-navigator-platform><code>platform</code></dfn></dt>
    <dd><p>Must return either the empty string or a string representing the platform on which the browser is executing, e.g. "<code title="">MacIntel</code>", "<code title="">Win32</code>", "<code title="">FreeBSD i386</code>", "<code title="">WebTV OS</code>".</dd>
 
+   <dt><dfn id=dom-navigator-product title=dom-navigator-product><code>product</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Gecko</code>".</dd>
+
    <!-- productSub: Mozilla and Safari only; returns same as buildID in Mozilla, and returns the fixed string "20030107" in Safari -->
 
    <!-- securityPolicy: Mozilla only; always returns "" -->

Modified: source
===================================================================
--- source	2013-07-09 02:32:04 UTC (rev 8037)
+++ source	2013-07-09 02:36:56 UTC (rev 8038)
@@ -82795,14 +82795,13 @@
   <h5>Client identification</h5>
 
   <pre class="idl">[NoInterfaceObject]
-interface <dfn>NavigatorID</dfn> {<!--
-  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
+interface <dfn>NavigatorID</dfn> {
+  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;
   readonly attribute DOMString <span title="dom-navigator-appName">appName</span>;
   readonly attribute DOMString <span title="dom-navigator-appVersion">appVersion</span>;
   readonly attribute DOMString <span title="dom-navigator-platform">platform</span>;
+  readonly attribute DOMString <span title="dom-navigator-product">product</span>;
   readonly attribute DOMString <span title="dom-navigator-userAgent">userAgent</span>;
-
-  const DOMString product = "Gecko"; // for historical reasons
 };</pre>
 
   <p>In certain cases, despite the best efforts of the entire
@@ -82819,6 +82818,11 @@
 
   <dl class="domintro">
 
+   <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-appCodeName">appCodeName</code></dt>
+   <dd>
+    <p>Returns the string "<code title="">Mozilla</code>".</p>
+   </dd>
+
    <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-appName">appName</code></dt>
    <dd>
     <p>Returns the name of the browser.</p>
@@ -82834,6 +82838,11 @@
     <p>Returns the name of the platform.</p>
    </dd>
 
+   <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-product">product</code></dt>
+   <dd>
+    <p>Returns the string "<code title="">Gecko</code>".</p>
+   </dd>
+
    <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-userAgent">userAgent</code></dt>
    <dd>
     <p>Returns the complete User-Agent header.</p>
@@ -82845,10 +82854,8 @@
 
   <dl>
 
-   <!-- redundant
    <dt><dfn title="dom-navigator-appCodeName"><code>appCodeName</code></dfn></dt>
    <dd><p>Must return the string "<code title="">Mozilla</code>".</p></dd>
-   -->
 
    <!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) -->
 
@@ -82865,6 +82872,9 @@
    <dt><dfn title="dom-navigator-platform"><code>platform</code></dfn></dt>
    <dd><p>Must return either the empty string or a string representing the platform on which the browser is executing, e.g. "<code title="">MacIntel</code>", "<code title="">Win32</code>", "<code title="">FreeBSD i386</code>", "<code title="">WebTV OS</code>".</p></dd>
 
+   <dt><dfn title="dom-navigator-product"><code>product</code></dfn></dt>
+   <dd><p>Must return the string "<code title="">Gecko</code>".</p></dd>
+
    <!-- productSub: Mozilla and Safari only; returns same as buildID in Mozilla, and returns the fixed string "20030107" in Safari -->
 
    <!-- securityPolicy: Mozilla only; always returns "" -->




More information about the Commit-Watchers mailing list