spec/Overview.html 1.1571 2399 Split Navigator so that Workers can refe

Split Navigator so that Workers can refer to it. (whatwg r2399)

Status of this document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#status-of-this-document
NavigatorBrowsingContextAbilities
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#navigatorbrowsingcontextabilities
A vocabulary and associated APIs for HTML and XHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
5.6 System state and capabilities
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#system-state-and-capabilities
NavigatorOnLine
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#navigatoronline
Editor's Draft 13 November 2008
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#editor-s-draft-date-zzz-9-june-2008
Navigator
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#navigator
NavigatorID
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1571.html#navigatorid

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1570&r2=1.1571&f=h
http://html5.org/tools/web-apps-tracker?from=2398&to=2399

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1570
retrieving revision 1.1571
diff -u -d -r1.1570 -r1.1571
--- Overview.html 12 Nov 2008 20:15:08 -0000 1.1570
+++ Overview.html 13 Nov 2008 01:23:39 -0000 1.1571
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->12 November 2008</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->13 November 2008</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 12 November 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 13 November 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -27435,23 +27435,35 @@
   the identity and state of the user agent (the client), and allows
   Web pages to register themselves as potential protocol and content
   handlers:<pre class=idl>interface <dfn id=navigator>Navigator</dfn> {
-  // client identification<!--
+  // objects implementing this interface also implement the interfaces given below
+};
+
+[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>;
+};
 
-  // system state
+[NoInterfaceObject] interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
   readonly attribute boolean <a href=#dom-navigator-online title=dom-navigator-onLine>onLine</a>;
+};
+
+[NoInterfaceObject] interface <dfn id=navigatorbrowsingcontextabilities>NavigatorBrowsingContextAbilities</dfn> {
+  // content handler registration
   void <a href=#dom-navigator-registerprotocolhandler title=dom-navigator-registerProtocolHandler>registerProtocolHandler</a>(in DOMString protocol, 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);
-
-  // abilities<!--
-  XXX cookieEnabled geolocator javaEnabled mozIsLocallyAvailable plugins preference
+<!--  XXX cookieEnabled geolocator javaEnabled mozIsLocallyAvailable plugins preference
   readonly attribute <span>MimeTypeArray</span> <span title="dom-navigator-mimeTypes">mimeTypes</span>;-->
+  // abilities
   short <a href=#dom-navigator-canplaytype title=dom-navigator-canPlayType>canPlayType</a>(in DOMString type);
-};</pre><!-- XXX also, see window.external.AddSearchProvider() and similar DOM APIs from IE --><!-- XXX also, could expose languages:
+};</pre><p>Objects implementing the <code><a href=#navigator>Navigator</a></code> interface must
+  also implement the <a href=#navigatorid>NavigatorID</a>,
+  <a href=#navigatoronline>NavigatorOnLine</a>, and
+  <a href=#navigatorbrowsingcontextabilities>NavigatorBrowsingContextAbilities</a> interfaces. (These
+  interfaces are defined separately so that other specifications can
+  re-use parts of the <code><a href=#navigator>Navigator</a></code> interface.)</p><!-- XXX also, see window.external.AddSearchProvider() and similar DOM APIs from IE --><!-- XXX also, could expose languages:
    <dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    <dd><p>Must return either null or a language code 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 - ->

Received on Thursday, 13 November 2008 01:27:10 UTC