- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 05 Feb 2011 00:09:53 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv5295 Modified Files: Overview.html Log Message: Split the Navigator IDLs to make the various places it's mentioned easier to understand. (whatwg r5834) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4684 retrieving revision 1.4685 diff -u -d -r1.4684 -r1.4685 --- Overview.html 3 Feb 2011 21:33:12 -0000 1.4684 +++ Overview.html 5 Feb 2011 00:09:47 -0000 1.4685 @@ -343,7 +343,7 @@ <h1>HTML5</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-3-february-2011">Editor's Draft 3 February 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-5-february-2011">Editor's Draft 5 February 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -478,7 +478,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 3 February 2011 Editor's Draft. + This specification is the 5 February 2011 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -47530,7 +47530,10 @@ <tr><td><dfn id="handler-appcache-onupdateready" title="handler-appcache-onupdateready"><code>onupdateready</code></dfn> <td> <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code> <tr><td><dfn id="handler-appcache-oncached" title="handler-appcache-oncached"><code>oncached</code></dfn> <td> <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code> <tr><td><dfn id="handler-appcache-onobsolete" title="handler-appcache-onobsolete"><code>onobsolete</code></dfn> <td> <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code> - </table></div><h4 id="browser-state"><span class="secno">5.6.10 </span>Browser state</h4><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> + </table></div><h4 id="browser-state"><span class="secno">5.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> @@ -49641,33 +49644,13 @@ }; <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>; - -[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 +<a href="#navigator">Navigator</a> implements <a href="#navigatorcontentutils">NavigatorContentUtils</a>; +<a href="#navigator">Navigator</a> implements <a href="#navigatorstorageutils">NavigatorStorageUtils</a>;</pre><!-- 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"> +--><div class="impl"> <p>These interfaces are defined separately so that other specifications can re-use parts of the <code><a href="#navigator">Navigator</a></code> @@ -49683,7 +49666,14 @@ <dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd> --> - </div><h4 id="client-identification"><span class="secno">6.5.1 </span>Client identification</h4><p>In certain cases, despite the best efforts of the entire + </div><h4 id="client-identification"><span class="secno">6.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>This section defines a collection of attributes that can be used to determine, from script, the kind of user agent in use, in order @@ -49748,7 +49738,12 @@ identified. For this reason, user agent implementors are strongly urged to include as little information in this API as possible.</p> - </div><h4 id="custom-handlers"><span class="secno">6.5.2 </span>Custom scheme and content handlers</h4><p>The <dfn id="dom-navigator-registerprotocolhandler" title="dom-navigator-registerProtocolHandler"><code>registerProtocolHandler()</code></dfn> + </div><h4 id="custom-handlers"><span class="secno">6.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 service could register itself as a handler of the <code>sms:</code> @@ -50059,7 +50054,10 @@ method would work equivalently, but for schemes instead of unknown content types.</p> - </div><h4 id="manually-releasing-the-storage-mutex"><span class="secno">6.5.3 </span>Manually releasing the storage mutex</h4><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> + </div><h4 id="manually-releasing-the-storage-mutex"><span class="secno">6.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>
Received on Saturday, 5 February 2011 00:09:55 UTC