- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 Mar 2009 23:57:37 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv18190 Modified Files: Overview.html Log Message: update refs for web workers, given the recent spec splits (whatwg r2913) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.96 retrieving revision 1.97 diff -u -d -r1.96 -r1.97 --- Overview.html 25 Mar 2009 23:22:55 -0000 1.96 +++ Overview.html 25 Mar 2009 23:57:35 -0000 1.97 @@ -1692,7 +1692,7 @@ interface.<p>Objects that implement the <code><a href=#workerutils>WorkerUtils</a></code> interface must also implement the <code>WindowTimers</code> interface. (This interface provides the <code title="">setTimeout()</code> method and - its friends.)<p class=XXX>Need to define a sync database API.</p><!-- XXX ApplicationCache --><!-- XXX a way to set cookies on the URL for the script --><!-- XXX debugging: void log(in DOMString s); // log to console --><!-- XXX debugging: onerror --><hr><p>The DOM APIs (<code>Node</code> objects, <code>Document</code> + its friends.)</p><!-- XXX ref --><p class=XXX>Need to define a sync database API.</p><!-- XXX ApplicationCache --><!-- XXX debugging: void log(in DOMString s); // log to console --><hr><p>The DOM APIs (<code>Node</code> objects, <code>Document</code> objects, etc) are not available to workers in this version of this specification.<h3 id=importing-scripts-and-libraries><span class=secno>5.1 </span>Importing scripts and libraries</h3><p>When a script invokes the <dfn id=dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts><code>importScripts(<var title="">urls</var>)</code></dfn> method on a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, the user agent must run the @@ -1787,13 +1787,12 @@ specification. <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 HTML5 specification.<h3 id=apis-defined-in-other-specifications><span class=secno>5.3 </span>APIs defined in other specifications</h3><p>The <dfn id=dom-opendatabase title=dom-opendatabase><code>openDatabase()</code></dfn> method - must act as defined for the API with the same name on the - <code>Window</code> object in the HTML5 specification, with the - exception that where the API would use the <span>origin</span> of - the <span>active document</span> of the <span>browsing - context</span> of the <code>Window</code> object on which the method - was supposedly invoked, it must instead use the <span>origin</span> - of the script that invoked the method. <a href=#refsHTML5>[HTML5]</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 + must act as defined for the API of the same name defined in the Web + Storage specification, with the exception that where the API would + use the <span>origin</span> of the <span>active document</span> of + the <span>browsing context</span> of the <code>Window</code> object + on which the method was supposedly invoked, it must instead use the + <span>origin</span> of the script that invoked the method. <a href=#refsWEBSTORAGE>[WEBSTORAGE]</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 execution context</span> is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object except for the following:<ul><li><p><code>XMLHttpRequest</code> and all interface objects and @@ -1802,10 +1801,10 @@ null. <a href=#refsXHR>[XHR]</a></li> <li><p>The <code>WebSocket</code> interface object and - constructor.</li> + constructor. <a href=#refsWEBSOCKET>[WEBSOCKET]</a></li> <li><p>The <code>MessageChannel</code> interface object and - constructor.</li> + constructor. <a href=#refsHTML5>[HTML5]</a></li> <li><p>The <code title=dom-Worker><a href=#dom-worker>Worker()</a></code> and <code title=dom-SharedWorker><a href=#dom-sharedworker>SharedWorker(<var title="">url</var>)</a></code> constructors.</li> @@ -1841,6 +1840,7 @@ Ben Turner, Dmitry Titov, Drew Wilson, + Jeremy Orlow, Jonas Sicking, Justin James, Kevin Hakanson,
Received on Wednesday, 25 March 2009 23:57:50 UTC