workers/Overview.html 1.30 37 Define 'port' and cause all references to

Define 'port' and cause all references to it to cross-reference. (whatwg
r37)

2.2 Base URLs and origins of workers
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#base-urls
success steps
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#success
worker creation failed
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#worker
utils
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#utils
run a worker
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#run-a
port
http://people.w3.org/mike/diffs/html5/workers/Overview.1.30.html#port

http://people.w3.org/mike/diffs/html5/workers/Overview.diff.html
http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.29&r2=1.30&f=h
http://html5.org/tools/web-apps-tracker?from=36&to=37

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- Overview.html 6 Aug 2008 09:32:50 -0000 1.29
+++ Overview.html 6 Aug 2008 09:43:07 -0000 1.30
@@ -300,9 +300,9 @@
 
   <p>The bulk of this code is simply an unoptimised search for a prime
    number. To send a message back to the page, the <code
-   title=dom-WorkerGlobalScope-port>port</code> variable (defined
-   automatically when the worker is created) is used to post a message when a
-   prime is found.
+   title=dom-WorkerGlobalScope-port><a href="#port">port</a></code> variable
+   (defined automatically when the worker is created) is used to post a
+   message when a prime is found.
 
   <p><a href="http://www.whatwg.org/demos/workers/primes/page.html">View this
    example online</a>.
@@ -475,6 +475,11 @@
    href="#workerglobalscope">WorkerGlobalScope</a></code> object when the
    worker was created.
 
+  <p>In addition to the above members, the <a href="#success" title="worker
+   creation succeeded">worker creation success steps</a> add a <dfn id=port
+   title=dom-WorkerGlobalScope-port><code>port</code></dfn> property to the
+   object.
+
   <h3 id=base-urls><span class=secno>2.2 </span>Base URLs and origins of
    workers</h3>
 
@@ -636,9 +641,9 @@
 
     <p class=note>This will usually add an event to the <a
      href="#queue">queue of events</a> and set the <code
-     title=dom-WorkerGlobalScope-port>port</code> property on the <var
-     title="">worker</var> object. If it does, that event will have a
-     <code>MessagePort</code> and thus the list of <a
+     title=dom-WorkerGlobalScope-port><a href="#port">port</a></code>
+     property on the <var title="">worker</var> object. If it does, that
+     event will have a <code>MessagePort</code> and thus the list of <a
      href="#the-workers0">the worker's ports</a> will not be empty. If it
      doesn't, then the next step will set the <var title="">worker</var>
      object's <code title=dom-WorkerGlobalScope-closing><a
@@ -937,10 +942,10 @@
      creation succeeded">success steps</dfn>, then <a href="#connect"
      title="connect to a worker">connect</a> to this new worker, with the
      newly created port, and if that algorithm returns a second new port,
-     then add a new property <code
-     title=dom-WorkerGlobalScope-port>port</code> on the new worker's
-     <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object,
-     whose value is the <code>MessagePort</code> object return by the <a
+     then add a new property <code title=dom-WorkerGlobalScope-port><a
+     href="#port">port</a></code> on the new worker's <code><a
+     href="#workerglobalscope">WorkerGlobalScope</a></code> object, whose
+     value is the <code>MessagePort</code> object return by the <a
      href="#connect">connect to a worker</a> algorithm.</p>
 
     <p>Otherwise, if the <dfn id=worker>worker creation failed</dfn>, then at

Received on Wednesday, 6 August 2008 09:44:39 UTC