- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Dec 2009 15:02:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv25837 Modified Files: Overview.html Log Message: Rename Navigator to WorkerNavigator in Workers. (whatwg r4425) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.209 retrieving revision 1.210 diff -u -d -r1.209 -r1.210 --- Overview.html 9 Dec 2009 14:54:32 -0000 1.209 +++ Overview.html 9 Dec 2009 15:02:44 -0000 1.210 @@ -290,7 +290,7 @@ <li><a href="#apis-available-to-workers"><span class="secno">5 </span>APIs available to workers</a> <ol> <li><a href="#importing-scripts-and-libraries"><span class="secno">5.1 </span>Importing scripts and libraries</a></li> - <li><a href="#the-navigator-object"><span class="secno">5.2 </span>The <code title="worker-Navigator">Navigator</code> object</a></li> + <li><a href="#the-workernavigator-object"><span class="secno">5.2 </span>The <code>WorkerNavigator</code> object</a></li> <li><a href="#apis-defined-in-other-specifications"><span class="secno">5.3 </span>APIs defined in other specifications</a></li> <li><a href="#interface-objects-and-constructors"><span class="secno">5.4 </span>Interface objects and constructors</a></li> <li><a href="#worker-locations"><span class="secno">5.5 </span>Worker locations</a></ol></li> @@ -1800,7 +1800,7 @@ <span>DOM manipulation task source</span>.<h2 id="apis-available-to-workers"><span class="secno">5 </span>APIs available to workers</h2><pre class="idl">[Supplemental, NoInterfaceObject] interface <dfn id="workerutils">WorkerUtils</dfn> { void <a href="#dom-workerglobalscope-importscripts" title="dom-WorkerGlobalScope-importScripts">importScripts</a>(in DOMString... urls); - readonly attribute <a href="#worker-navigator" title="worker-Navigator">Navigator</a> <a href="#dom-worker-navigator" title="dom-worker-navigator">navigator</a>; + readonly attribute <a href="#workernavigator">WorkerNavigator</a> <a href="#dom-worker-navigator" title="dom-worker-navigator">navigator</a>; }; <a href="#workerutils">WorkerUtils</a> implements <span>WindowTimers</span>;</pre><p>The DOM APIs (<code>Node</code> objects, <code>Document</code> objects, etc) are not available to workers in this version of this @@ -1887,24 +1887,20 @@ </ol></li> - </ol><h3 id="the-navigator-object"><span class="secno">5.2 </span>The <code title="worker-Navigator"><a href="#worker-navigator">Navigator</a></code> object</h3><p>The <dfn id="dom-worker-navigator" title="dom-worker-navigator"><code>navigator</code></dfn> attribute + </ol><h3 id="the-workernavigator-object"><span class="secno">5.2 </span>The <code><a href="#workernavigator">WorkerNavigator</a></code> object</h3><p>The <dfn id="dom-worker-navigator" title="dom-worker-navigator"><code>navigator</code></dfn> attribute of the <code><a href="#workerutils">WorkerUtils</a></code> interface must return an instance of - the <code title="worker-Navigator"><a href="#worker-navigator">Navigator</a></code> interface, which - represents the identity and state of the user agent (the - client):<pre class="idl">interface <dfn id="worker-navigator" title="worker-Navigator">Navigator</dfn> {}; -<a href="#worker-navigator" title="worker-Navigator">Navigator</a> implements <span>NavigatorID</span>; -<a href="#worker-navigator" title="worker-Navigator">Navigator</a> implements <span>NavigatorOnLine</span>;</pre><p>Objects implementing the <code title="worker-Navigator"><a href="#worker-navigator">Navigator</a></code> interface also implement - the <code>NavigatorID</code> and <code>NavigatorOnLine</code> - interfaces. + the <code><a href="#workernavigator">WorkerNavigator</a></code> interface, which represents the + identity and state of the user agent (the client):<pre class="idl">interface <dfn id="workernavigator">WorkerNavigator</dfn> {}; +<a href="#workernavigator">WorkerNavigator</a> implements <span>NavigatorID</span>; +<a href="#workernavigator">WorkerNavigator</a> implements <span>NavigatorOnLine</span>;</pre><p>Objects implementing the <code><a href="#workernavigator">WorkerNavigator</a></code> interface + also implement the <code>NavigatorID</code> and + <code>NavigatorOnLine</code> interfaces. <a href="#refsHTML5">[HTML5]</a> - <p class="note">The <code title="worker-Navigator"><a href="#worker-navigator">Navigator</a></code> - interface defined in this specification is different than the one - defined in the HTML specification.<p>This <code title="worker-Navigator"><a href="#worker-navigator">Navigator</a></code> interface - must not exist if the interface's <span>relevant namespace - object</span> is a <code>Window</code> object, where it would - otherwise clash with the other <code>Navigator</code> interface. <a href="#refsWEBIDL">[WEBIDL]</a><h3 id="apis-defined-in-other-specifications"><span class="secno">5.3 </span>APIs defined in other specifications</h3><p>The <code title="dom-opendatabase">openDatabase()</code> and + <p>This <code><a href="#workernavigator">WorkerNavigator</a></code> interface must not exist if the + interface's <span>relevant namespace object</span> is a + <code>Window</code> object. <a href="#refsWEBIDL">[WEBIDL]</a><h3 id="apis-defined-in-other-specifications"><span class="secno">5.3 </span>APIs defined in other specifications</h3><p>The <code title="dom-opendatabase">openDatabase()</code> and <code title="dom-opendatabase-sync">openDatabaseSync()</code> methods are defined in the Web SQL Database specification. <a href="#refsWEBSQL">[WEBSQL]</a><h3 id="interface-objects-and-constructors"><span class="secno">5.4 </span>Interface objects and constructors</h3><p>There must be no interface objects and constructors available in the global scope of scripts whose <span>script's global
Received on Wednesday, 9 December 2009 15:02:48 UTC