W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/workers Overview.html,1.4,1.5

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 16 Jul 2008 01:46:22 +0000
To: public-html-commits@w3.org
Message-Id: <E1KIw62-0006z6-S6@lionel-hutz.w3.org>

Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv26818

Modified Files:
	Overview.html 
Log Message:
WindowWorkerCreators IDL (whatwg r7)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Overview.html	16 Jul 2008 01:39:59 -0000	1.4
+++ Overview.html	16 Jul 2008 01:46:20 -0000	1.5
@@ -209,6 +209,10 @@
     </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>
+    </ul>
 
    <li class=no-num><a href="#references">References</a>
 
@@ -378,8 +382,9 @@
   <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> interface) and the <code>EventTarget</code>
-   interface.
+   <code>WindowTimers</code> and <code><a
+   href="#windowworkercreators">WindowWorkerCreators</a></code> interfaces)
+   and the <code>EventTarget</code> interface.
 
   <p>The <dfn id=closing
    title=dom-windowworker-closing><code>closing</code></dfn> attribute must
@@ -489,6 +494,19 @@
 
   <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>
+
+  <pre
+   class=idl>[NoInterfaceObject] interface <dfn id=windowworkercreators>WindowWorkerCreators</dfn> {
+  <span>MessagePort</span> <span title=dom-WindowWorkerCreators-createWorker>createWorker</span>(in DOMString scriptURI);
+  <span>MessagePort</span> <span title=dom-WindowWorkerCreators-createNamedWorker>createNamedWorker</span>(in DOMString name, in DOMString scriptURI);
+};</pre>
+
+  <p>Objects that implement the <code>Window</code> interface must also
+   implement the <code><a
+   href="#windowworkercreators">WindowWorkerCreators</a></code> interface.
+
   <p class=big-issue>...
 
   <h2 class=no-num id=references>References</h2>
Received on Wednesday, 16 July 2008 01:46:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT