CVS html5/workers

Update of /sources/public/html5/workers
In directory roscoe:/tmp/cvs-serv3603

Modified Files:
	Overview.html 
Log Message:
Try to clean up text where I referred to scripts that called a method, etc. Introduces the term 'incumbent script'. (whatwg r7954)

--- /sources/public/html5/workers/Overview.html	2013/06/04 22:18:30	1.384
+++ /sources/public/html5/workers/Overview.html	2013/06/11 21:45:30	1.385
@@ -216,7 +216,7 @@
 
    <h1>Web Workers</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-4-june-2013">Editor's Draft 4 June 2013</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-11-june-2013">Editor's Draft 11 June 2013</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/workers/">http://www.w3.org/TR/workers/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -353,7 +353,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 4 June 2013 Editor's Draft.
+  This specification is the 11 June 2013 Editor's Draft.
   </p>
 
   
@@ -1390,7 +1390,7 @@
   origin</dfn> that is set when the object is created.</p>
 
   <p class="note">For <span title="data protocol"><code title="">data:</code> URLs</span>, this is the <span>origin</span>
-  of the <span>entry script</span> that called the constructor. For
+  of the <span>entry script</span> when the constructor was called. For
   other <span title="URL">URLs</span>, this is the <span>origin</span>
   of the value of the <span>absolute URL</span> given in the worker's
   <code title="dom-WorkerGlobalScope-location"><a href="#dom-workerglobalscope-location"></a></code> attribute.</p>
@@ -1915,7 +1915,8 @@
    <li><p>Create a new <code><a href="#worker">Worker</a></code> object, associated with <var title="">worker global
    scope</var>. Let <var title="">worker</var> be this new object.</li>
 
-   <li><p><span>Create a new <code><a href="#messageport">MessagePort</a></code> object</span> owned by the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor. Let this be the <var title="">outside port</var>.</li>
+   <li><p><span>Create a new <code><a href="#messageport">MessagePort</a></code> object</span> owned by the <span title="script's global object">global object</span> of the <span>incumbent script</span>.
+   Let this be the <var title="">outside port</var>.</li>
 
    <li><p>Associate the <var title="">outside port</var> with <var title="">worker</var>.</li>
 
@@ -1937,7 +1938,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href="#list-of-relevant-document-objects-to-add">list of relevant <code>Document</code> objects to
-    add</a> given the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor.</p>
+    add</a> given the <span title="script's global object">global object</span> of the <span>incumbent
+    script</span>.</p>
 
    </li>
 
@@ -1951,19 +1953,19 @@
 
    <li>
 
-    <p>If the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor is a
+    <p>If the <span title="script's global object">global object</span> of the <span>incumbent
+    script</span> is a
     <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object (i.e. we are creating a nested worker), add <var title="">worker global scope</var> to the list of <a href="#the-worker-s-workers">the worker's workers</a> of the
     <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object that is the <span title="script's global object">global
-    object</span> of the <span title="concept-script">script</span> that invoked the
-    constructor.</p>
+    object</span> of the <span>incumbent script</span>.</p>
 
    </li>
 
    <li>
 
     <p><a href="#run-a-worker">Run a worker</a> for the resulting <span>absolute URL</span>, with the
-    <span>script's browsing context</span> of the script that invoked the method as the <var title="">owner browsing context</var>, with the <span>script's document</span> of the script
-    that invoked the method as the <var title="">owner document</var>, with the <span>origin</span>
+    <span>script's browsing context</span> of the <span>incumbent script</span> as the <var title="">owner browsing context</var>, with the <span>script's document</span> of the
+    <span>incumbent script</span> as the <var title="">owner document</var>, with the <span>origin</span>
     of the <span>entry script</span> as the <var title="">owner origin</var>, and with <var title="">worker global scope</var> as the global scope.</p>
 
    </li>
@@ -2015,7 +2017,8 @@
    <li>
 
     <p>Let <var title="">docs</var> be the <a href="#list-of-relevant-document-objects-to-add">list of relevant <code>Document</code> objects to
-    add</a> given the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor.</p>
+    add</a> given the <span title="script's global object">global object</span> of the <span>incumbent
+    script</span>.</p>
 
    </li>
 
@@ -2026,7 +2029,7 @@
     <ol><li><p>Create a new <code><a href="#sharedworker">SharedWorker</a></code> object, which will shortly be associated with a
      <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object. Let this <code><a href="#sharedworker">SharedWorker</a></code> object be <var title="">worker</var>.</li>
 
-     <li><p><span>Create a new <code><a href="#messageport">MessagePort</a></code> object</span> owned by the <span title="script's global object">global object</span> of the script that invoked the method. Let
+     <li><p><span>Create a new <code><a href="#messageport">MessagePort</a></code> object</span> owned by the <span title="script's global object">global object</span> of the <span>incumbent script</span>. Let
      this be the <var title="">outside port</var>.</li>
 
      <li><p>Assign <var title="">outside port</var> to the <code title="dom-SharedWorker-port"><a href="#dom-sharedworker-port">port</a></code> attribute of <var title="">worker</var>.</li>
@@ -2049,8 +2052,8 @@
      <li>
 
       <p>If <var title="">worker global scope</var> is not null, but the user agent has been
-      configured to disallow communication between the <span title="concept-script">script</span>
-      that invoked the constructor and the worker represented by the <var title="">worker global
+      configured to disallow communication between the <span>incumbent script</span>
+      and the worker represented by the <var title="">worker global
       scope</var>, then set <var title="">worker global scope</var> to null.</p>
 
       <p class="note">For example, a user agent could have a development mode that isolates a
@@ -2095,10 +2098,12 @@
 
        <li>
 
-        <p>If the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor is a
+        <p>If the <span title="script's global object">global object</span> of the <span>incumbent
+        script</span> is a
         <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the
         list of <a href="#the-worker-s-workers">the worker's workers</a> of the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object that
-        is the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor.</p>
+        is the <span title="script's global object">global object</span> of the <span>incumbent
+        script</span>.</p>
 
        </li>
 
@@ -2144,18 +2149,19 @@
 
    <li>
 
-    <p>If the <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor is a
+    <p>If the <span title="script's global object">global object</span> of the <span>incumbent
+    script</span> that invoked the constructor is a
     <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object, add <var title="">worker global scope</var> to the list
     of <a href="#the-worker-s-workers">the worker's workers</a> of the <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object that is the
-    <span title="script's global object">global object</span> of the <span title="concept-script">script</span> that invoked the constructor.</p>
+    <span title="script's global object">global object</span> of the <span>incumbent script</span>.</p>
 
    </li>
 
    <li>
 
     <p><a href="#run-a-worker">Run a worker</a> for <var title="">scriptURL</var>, with the <span>script's browsing
-    context</span> of the script that invoked the method as the <var title="">owner browsing
-    context</var>, with the <span>script's document</span> of the script that invoked the method as
+    context</span> of the <span>incumbent script</span> as the <var title="">owner browsing
+    context</var>, with the <span>script's document</span> of the <span>incumbent script</span>
     the <var title="">owner document</var>, with the <span>origin</span> of the <span>entry
     script</span> as the <var title="">owner origin</var>, and with <var title="">worker global
     scope</var> as the global scope.</p>
@@ -2261,9 +2267,7 @@
 
       <p>If an exception was thrown or if the script was prematurely
       aborted, then abort all these steps, letting the exception or
-      aborting continue to be processed by the script that called the
-      <code title="dom-WorkerGlobalScope-importScripts"><a href="#dom-workerglobalscope-importscripts">importScripts()</a></code>
-      method.</p>
+      aborting continue to be processed by the <span>incumbent script</span>.</p>
 
       <p>If the "<a href="#kill-a-worker">kill a worker</a>" or "<a href="#terminate-a-worker">terminate a
       worker</a>" algorithms abort the script then abort all these

Received on Tuesday, 11 June 2013 21:45:31 UTC