workers/Overview.html 1.6 8 Workers can be named. (whatwg r8) (changed

Workers can be named. (whatwg r8) (changed by: Ian Hickson)

Diffs for this change per section: 
  queue of events
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#queue
  name
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#name
  2.3 Processing model
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#processing
  run a worker
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#run-a
  2.1 The WindowWorker interface
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#the-windowworker
  closing
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#closing
  WindowWorker
  http://people.w3.org/mike/diffs/html5/workers/Overview.1.6.html#windowworker

Current content per affected section: 
  http://dev.w3.org/html5/workers/Overview.html#queue
  http://dev.w3.org/html5/workers/Overview.html#name
  http://dev.w3.org/html5/workers/Overview.html#processing
  http://dev.w3.org/html5/workers/Overview.html#run-a
  http://dev.w3.org/html5/workers/Overview.html#the-windowworker
  http://dev.w3.org/html5/workers/Overview.html#closing
  http://dev.w3.org/html5/workers/Overview.html#windowworker

Previously published WD content per affected section: 
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#queue
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#name
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#processing
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#run-a
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#the-windowworker
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#closing
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#windowworker

Cumulative diff: http://people.w3.org/mike/diffs/html5/workers/Overview.diff.html

http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.5&r2=1.6&f=h

http://html5.org/tools/web-apps-tracker?from=7&to=8

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Overview.html 16 Jul 2008 01:46:20 -0000 1.5
+++ Overview.html 16 Jul 2008 01:52:35 -0000 1.6
@@ -376,6 +376,7 @@
 
   <pre
    class=idl>[NoInterfaceObject] interface <dfn id=windowworker>WindowWorker</dfn> {
+  readonly attribute boolean <a href="#name" title=dom-windowworker-name>name</a>;
   readonly attribute boolean <a href="#closing" title=dom-windowworker-closing>closing</a>;
 };</pre>
 
@@ -386,6 +387,11 @@
    href="#windowworkercreators">WindowWorkerCreators</a></code> interfaces)
    and the <code>EventTarget</code> interface.
 
+  <p>The <dfn id=name title=dom-windowworker-name><code>name</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
+   href="#run-a">run a worker</a>" algorithm.
+
   <p>The <dfn id=closing
    title=dom-windowworker-closing><code>closing</code></dfn> attribute must
    return false until the "<a href="#kill-a">kill a worker</a>" processing
@@ -401,11 +407,12 @@
 
   <h3 id=processing><span class=secno>2.3 </span>Processing model</h3>
 
-  <p>When a user agent is to <dfn id=run-a>run a worker</dfn> for a script
-   <var title="">script</var> and a browsing context <var title="">owner
-   browsing context</var> and a <code>Document</code> <var title="">owner
-   document</var>, it must run the following steps in a completely separate
-   and parallel execution environment:
+  <p>When a user agent is to <dfn id=run-a>run a worker</dfn> named <var
+   title="">name</var> for a script <var title="">script</var>, a browsing
+   context <var title="">owner browsing context</var> and a
+   <code>Document</code> <var title="">owner document</var>, it must run the
+   following steps in a completely separate and parallel execution
+   environment:
 
   <ol>
    <li>
@@ -413,6 +420,11 @@
      object, <var title="">window</var>.</p>
 
    <li>
+    <p>Set the <code title=dom-windowworker-name><a
+     href="#name">name</a></code> attribute of <var title="">window</var> to
+     the value of <var title="">name</var>.</p>
+
+   <li>
     <p>Let <var title="">script</var>'s <span>script execution context</span>
      (and thus also <span>global object</span>) be <var
      title="">window</var>.</p>

Received on Wednesday, 16 July 2008 01:54:03 UTC