- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Jul 2008 01:25:22 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv10573
Modified Files:
Overview.html
Log Message:
Start talking about APIs in workers. (whatwg r15)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Overview.html 18 Jul 2008 01:14:06 -0000 1.11
+++ Overview.html 18 Jul 2008 01:25:20 -0000 1.12
@@ -196,7 +196,8 @@
<li><a href="#terminology"><span class=secno>1.4 </span>Terminology</a>
</ul>
- <li><a href="#inside"><span class=secno>2. </span>Inside workers</a>
+ <li><a href="#infrastructure"><span class=secno>2.
+ </span>Infrastructure</a>
<ul class=toc>
<li><a href="#the-windowworker"><span class=secno>2.1 </span>The
<code>WindowWorker</code> interface</a>
@@ -209,14 +210,14 @@
<li><a href="#processing"><span class=secno>2.4 </span>Processing
model</a>
- </ul>
- <li><a href="#creating"><span class=secno>3. </span>Creating workers</a>
- <ul class=toc>
- <li><a href="#the-windowworkercreators"><span class=secno>3.1 </span>The
- <code>WindowWorkerCreators</code> interface</a>
+ <li><a href="#creating"><span class=secno>2.5 </span>Creating
+ workers</a>
</ul>
+ <li><a href="#apis-available"><span class=secno>3. </span>APIs available
+ to workers</a>
+
<li class=no-num><a href="#references">References</a>
<li class=no-num><a href="#acknowledgements">Acknowledgements</a>
@@ -372,7 +373,7 @@
that object must operate on the actual underlying data, not a snapshot of
the data.
- <h2 id=inside><span class=secno>2. </span>Inside workers</h2>
+ <h2 id=infrastructure><span class=secno>2. </span>Infrastructure</h2>
<h3 id=the-windowworker><span class=secno>2.1 </span>The <code><a
href="#windowworker">WindowWorker</a></code> interface</h3>
@@ -389,13 +390,6 @@
attribute <span>EventListener</span> <a href="#onunload" title=handler-WindowWorker-onunload>onunload</a>;
};</pre>
- <p>Objects that implement the <code><a
- href="#windowworker">WindowWorker</a></code> interface must also implement
- the <code>Window</code> interface (and thus also the
- <code>WindowTimers</code> and <code><a
- href="#windowworkercreators">WindowWorkerCreators</a></code> interfaces)
- and the <code>EventTarget</code> interface.
-
<p>The <dfn id=url title=dom-WindowWorker-URL><code>URL</code></dfn>
attribute must return the value it was assigned when the <code><a
href="#windowworker">WindowWorker</a></code> object was created by the "<a
@@ -690,10 +684,7 @@
</ol>
</ol>
- <h2 id=creating><span class=secno>3. </span>Creating workers</h2>
-
- <h3 id=the-windowworkercreators><span class=secno>3.1 </span>The <code><a
- href="#windowworkercreators">WindowWorkerCreators</a></code> interface</h3>
+ <h3 id=creating><span class=secno>2.5 </span>Creating workers</h3>
<pre
class=idl>[NoInterfaceObject] interface <dfn id=windowworkercreators>WindowWorkerCreators</dfn> {
@@ -882,6 +873,27 @@
href="#windowworker">WindowWorker</a></code> object itself.
</ol>
+ <h2 id=apis-available><span class=secno>3. </span>APIs available to workers</h2>
+
+ <p>Objects that implement the <code><a
+ href="#windowworker">WindowWorker</a></code> interface must also implement
+ the following interfaces:
+
+ <ul>
+ <li>
+ <p>The <code>Window</code> interface, and interfaces that are required to
+ be implemented by objects implementing that interface, including:</p>
+
+ <ul>
+ <li>The <code>WindowTimers</code> interface
+
+ <li>The <code><a
+ href="#windowworkercreators">WindowWorkerCreators</a></code> interface
+ </ul>
+
+ <li>The <code>EventTarget</code> interface.
+ </ul>
+
<h2 class=no-num id=references>References</h2>
<p class=big-issue>This section will be written in a future
Received on Friday, 18 July 2008 01:25:56 UTC