[html5] r5834 - [e] (0) Split the Navigator IDLs to make the various places it's mentioned easie [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 4 16:09:42 PST 2011


Author: ianh
Date: 2011-02-04 16:09:40 -0800 (Fri, 04 Feb 2011)
New Revision: 5834

Modified:
   complete.html
   index
   source
Log:
[e] (0) Split the Navigator IDLs to make the various places it's mentioned easier to understand.

Modified: complete.html
===================================================================
--- complete.html	2011-02-03 23:48:55 UTC (rev 5833)
+++ complete.html	2011-02-05 00:09:40 UTC (rev 5834)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 February 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 5 February 2011</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -63810,6 +63810,11 @@
 
   <h4 id=browser-state><span class=secno>6.6.10 </span>Browser state</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
+  readonly attribute boolean <a href=#dom-navigator-online title=dom-navigator-onLine>onLine</a>;
+};</pre>
+
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-onLine><a href=#dom-navigator-online>onLine</a></code></dt>
 
    <dd>
@@ -66080,33 +66085,15 @@
 };
 <a href=#navigator>Navigator</a> implements <a href=#navigatorid>NavigatorID</a>;
 <a href=#navigator>Navigator</a> implements <a href=#navigatoronline>NavigatorOnLine</a>;
-<a href=#navigator>Navigator</a> implements <a href=#navigatorabilities>NavigatorAbilities</a>;
+<a href=#navigator>Navigator</a> implements <a href=#navigatorcontentutils>NavigatorContentUtils</a>;
+<a href=#navigator>Navigator</a> implements <a href=#navigatorstorageutils>NavigatorStorageUtils</a>;</pre>
 
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
-  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
-  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-useragent title=dom-navigator-userAgent>userAgent</a>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
-  readonly attribute boolean <a href=#dom-navigator-online title=dom-navigator-onLine>onLine</a>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {
-  // content handler registration
-  void <a href=#dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString scheme, in DOMString url, in DOMString title);
-  void <a href=#dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString url, in DOMString title);
-  void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
-<!--  v2: cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
+<!-- v2:
+  cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
   readonly attribute <span>MimeTypeArray</span> <span title="dom-navigator-mimeTypes">mimeTypes</span>;
   readonly attribute <span>PluginArray</span> <span title="dom-navigator-plugins">plugins</span>;
   (the latter is used in a <video> element demo now, so we might need to pull this forward from v2!)
--->};</pre>
+-->
 
   <div class=impl>
 
@@ -66129,6 +66116,15 @@
 
   <h4 id=client-identification><span class=secno>7.5.1 </span>Client identification</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
+  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
+  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-useragent title=dom-navigator-userAgent>userAgent</a>;
+};</pre>
+
   <p>In certain cases, despite the best efforts of the entire
   industry, Web browsers have bugs and limitations that Web authors
   are forced to work around.</p>
@@ -66205,6 +66201,13 @@
 
   <h4 id=custom-handlers><span class=secno>7.5.2 </span>Custom scheme and content handlers</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorcontentutils>NavigatorContentUtils</dfn> {
+  // content handler registration
+  void <a href=#dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString scheme, in DOMString url, in DOMString title);
+  void <a href=#dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString url, in DOMString title);
+};</pre>
+
   <p>The <dfn id=dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler><code>registerProtocolHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
   for particular schemes. For example, an online telephone messaging
@@ -66530,6 +66533,11 @@
 
   <h4 id=manually-releasing-the-storage-mutex><span class=secno>7.5.3 </span>Manually releasing the storage mutex</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
+  void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
+};</pre>
+
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
 
    <dd>

Modified: index
===================================================================
--- index	2011-02-03 23:48:55 UTC (rev 5833)
+++ index	2011-02-05 00:09:40 UTC (rev 5834)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 February 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 5 February 2011</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -63807,6 +63807,11 @@
 
   <h4 id=browser-state><span class=secno>6.6.10 </span>Browser state</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
+  readonly attribute boolean <a href=#dom-navigator-online title=dom-navigator-onLine>onLine</a>;
+};</pre>
+
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-onLine><a href=#dom-navigator-online>onLine</a></code></dt>
 
    <dd>
@@ -66082,33 +66087,15 @@
 };
 <a href=#navigator>Navigator</a> implements <a href=#navigatorid>NavigatorID</a>;
 <a href=#navigator>Navigator</a> implements <a href=#navigatoronline>NavigatorOnLine</a>;
-<a href=#navigator>Navigator</a> implements <a href=#navigatorabilities>NavigatorAbilities</a>;
+<a href=#navigator>Navigator</a> implements <a href=#navigatorcontentutils>NavigatorContentUtils</a>;
+<a href=#navigator>Navigator</a> implements <a href=#navigatorstorageutils>NavigatorStorageUtils</a>;</pre>
 
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
-  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
-  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-useragent title=dom-navigator-userAgent>userAgent</a>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
-  readonly attribute boolean <a href=#dom-navigator-online title=dom-navigator-onLine>onLine</a>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {
-  // content handler registration
-  void <a href=#dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString scheme, in DOMString url, in DOMString title);
-  void <a href=#dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString url, in DOMString title);
-  void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
-<!--  v2: cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
+<!-- v2:
+  cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
   readonly attribute <span>MimeTypeArray</span> <span title="dom-navigator-mimeTypes">mimeTypes</span>;
   readonly attribute <span>PluginArray</span> <span title="dom-navigator-plugins">plugins</span>;
   (the latter is used in a <video> element demo now, so we might need to pull this forward from v2!)
--->};</pre>
+-->
 
   <div class=impl>
 
@@ -66131,6 +66118,15 @@
 
   <h4 id=client-identification><span class=secno>7.5.1 </span>Client identification</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorid>NavigatorID</dfn> {<!--
+  readonly attribute DOMString <span title="dom-navigator-appCodeName">appCodeName</span>;-->
+  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-useragent title=dom-navigator-userAgent>userAgent</a>;
+};</pre>
+
   <p>In certain cases, despite the best efforts of the entire
   industry, Web browsers have bugs and limitations that Web authors
   are forced to work around.</p>
@@ -66207,6 +66203,13 @@
 
   <h4 id=custom-handlers><span class=secno>7.5.2 </span>Custom scheme and content handlers</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorcontentutils>NavigatorContentUtils</dfn> {
+  // content handler registration
+  void <a href=#dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString scheme, in DOMString url, in DOMString title);
+  void <a href=#dom-navigator-registercontenthandler title=dom-navigator-registerContentHandler>registerContentHandler</a>(in DOMString mimeType, in DOMString url, in DOMString title);
+};</pre>
+
   <p>The <dfn id=dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler><code>registerProtocolHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
   for particular schemes. For example, an online telephone messaging
@@ -66532,6 +66535,11 @@
 
   <h4 id=manually-releasing-the-storage-mutex><span class=secno>7.5.3 </span>Manually releasing the storage mutex</h4>
 
+  <pre class=idl>[Supplemental, NoInterfaceObject]
+interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
+  void <a href=#dom-navigator-yieldforstorageupdates title=dom-navigator-yieldForStorageUpdates>yieldForStorageUpdates</a>();
+};</pre>
+
   <dl class=domintro><dt><var title="">window</var> . <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> . <code title=dom-navigator-yieldForStorageUpdates><a href=#dom-navigator-yieldforstorageupdates>yieldForStorageUpdates</a></code>()</dt>
 
    <dd>

Modified: source
===================================================================
--- source	2011-02-03 23:48:55 UTC (rev 5833)
+++ source	2011-02-05 00:09:40 UTC (rev 5834)
@@ -72585,6 +72585,11 @@
 
   <h4>Browser state</h4>
 
+  <pre class="idl">[Supplemental, NoInterfaceObject]
+interface <dfn>NavigatorOnLine</dfn> {
+  readonly attribute boolean <span title="dom-navigator-onLine">onLine</span>;
+};</pre>
+
   <dl class="domintro">
 
    <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-onLine">onLine</code></dt>
@@ -75242,33 +75247,15 @@
 };
 <span>Navigator</span> implements <span>NavigatorID</span>;
 <span>Navigator</span> implements <span>NavigatorOnLine</span>;
-<span>Navigator</span> implements <span>NavigatorAbilities</span>;
+<span>Navigator</span> implements <span>NavigatorContentUtils</span>;
+<span>Navigator</span> implements <span>NavigatorStorageUtils</span>;</pre>
 
-[Supplemental, NoInterfaceObject]
-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-userAgent">userAgent</span>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn>NavigatorOnLine</dfn> {
-  readonly attribute boolean <span title="dom-navigator-onLine">onLine</span>;
-};
-
-[Supplemental, NoInterfaceObject]
-interface <dfn>NavigatorAbilities</dfn> {
-  // content handler registration
-  void <span title="dom-navigator-registerProtocolHandler">registerProtocolHandler</span>(in DOMString scheme, in DOMString url, in DOMString title);
-  void <span title="dom-navigator-registerContentHandler">registerContentHandler</span>(in DOMString mimeType, in DOMString url, in DOMString title);
-  void <span title="dom-navigator-yieldForStorageUpdates">yieldForStorageUpdates</span>();
-<!--  v2: cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
+<!-- v2:
+  cookieEnabled geolocator javaEnabled mozIsLocallyAvailable preference
   readonly attribute <span>MimeTypeArray</span> <span title="dom-navigator-mimeTypes">mimeTypes</span>;
   readonly attribute <span>PluginArray</span> <span title="dom-navigator-plugins">plugins</span>;
   (the latter is used in a <video> element demo now, so we might need to pull this forward from v2!)
--->};</pre>
+-->
 
   <div class="impl">
 
@@ -75291,6 +75278,15 @@
 
   <h4>Client identification</h4>
 
+  <pre class="idl">[Supplemental, NoInterfaceObject]
+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-userAgent">userAgent</span>;
+};</pre>
+
   <p>In certain cases, despite the best efforts of the entire
   industry, Web browsers have bugs and limitations that Web authors
   are forced to work around.</p>
@@ -75379,6 +75375,13 @@
 
   <h4 id="custom-handlers">Custom scheme and content handlers</h4>
 
+  <pre class="idl">[Supplemental, NoInterfaceObject]
+interface <dfn>NavigatorContentUtils</dfn> {
+  // content handler registration
+  void <span title="dom-navigator-registerProtocolHandler">registerProtocolHandler</span>(in DOMString scheme, in DOMString url, in DOMString title);
+  void <span title="dom-navigator-registerContentHandler">registerContentHandler</span>(in DOMString mimeType, in DOMString url, in DOMString title);
+};</pre>
+
   <p>The <dfn
   title="dom-navigator-registerProtocolHandler"><code>registerProtocolHandler()</code></dfn>
   method allows Web sites to register themselves as possible handlers
@@ -75738,6 +75741,11 @@
 
   <h4>Manually releasing the storage mutex</h4>
 
+  <pre class="idl">[Supplemental, NoInterfaceObject]
+interface <dfn>NavigatorStorageUtils</dfn> {
+  void <span title="dom-navigator-yieldForStorageUpdates">yieldForStorageUpdates</span>();
+};</pre>
+
   <dl class="domintro">
 
    <dt><var title="">window</var> . <code title="dom-navigator">navigator</code> . <code title="dom-navigator-yieldForStorageUpdates">yieldForStorageUpdates</code>()</dt>




More information about the Commit-Watchers mailing list