workers; hixie: Allow shared workers to be isolated. (whatwg r6744)

workers; hixie: Allow shared workers to be isolated. (whatwg r6744)

http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.311&r2=1.312&f=h
http://html5.org/tools/web-apps-tracker?from=6743&to=6744

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.311
retrieving revision 1.312
diff -u -d -r1.311 -r1.312
--- Overview.html 5 Oct 2011 21:21:38 -0000 1.311
+++ Overview.html 25 Oct 2011 00:10:23 -0000 1.312
@@ -215,7 +215,7 @@
 
    <h1>Web Workers</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-5-october-2011">Editor's Draft 5 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-25-october-2011">Editor's Draft 25 October 2011</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>
@@ -322,7 +322,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 5 October 2011 Editor's Draft.
+  This specification is the 25 October 2011 Editor's Draft.
   </p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -1636,24 +1636,42 @@
      <li><p>Let <var title="">worker global scope</var> be
      null.</li>
 
-     <li><p>If <var title="">name</var> is not the empty string and
-     there exists a <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object whose
-     <a href="#dom-workerglobalscope-closing" title="dom-WorkerGlobalScope-closing">closing</a> flag
-     is false, whose <code title="dom-WorkerGlobalScope-name">name</code> attribute is
-     exactly equal to <var title="">name</var>, and whose <code title="dom-WorkerGlobalScope-location"><a href="#dom-workerglobalscope-location">location</a></code> attribute
-     represents an <span>absolute URL</span> with the <span>same
-     origin</span> as <var title="">scriptURL</var>, then let <var title="">worker global scope</var> be that
-     <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object.</li>
+     <li>
 
-     <li><p>Otherwise, if <var title="">name</var> is the empty string
-     and there exists a <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object
-     whose <a href="#dom-workerglobalscope-closing" title="dom-WorkerGlobalScope-closing">closing</a>
-     flag is false, whose <code title="dom-WorkerGlobalScope-name">name</code> attribute is the
-     empty string, and whose <code title="dom-WorkerGlobalScope-location"><a href="#dom-workerglobalscope-location">location</a></code> attribute
-     represents an <span>absolute URL</span> that is exactly equal to
-     <var title="">scriptURL</var>, then let <var title="">worker
-     global scope</var> be that <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code>
-     object.</li>
+      <p>If <var title="">name</var> is not the empty string and there
+      exists a <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object whose <a href="#dom-workerglobalscope-closing" title="dom-WorkerGlobalScope-closing">closing</a> flag is
+      false, whose <code title="dom-WorkerGlobalScope-name">name</code> attribute is
+      exactly equal to <var title="">name</var>, and whose <code title="dom-WorkerGlobalScope-location"><a href="#dom-workerglobalscope-location">location</a></code> attribute
+      represents an <span>absolute URL</span> with the <span>same
+      origin</span> as <var title="">scriptURL</var>, then let <var title="">worker global scope</var> be that
+      <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object.</p>
+
+      <p>Otherwise, if <var title="">name</var> is the empty string
+      and there exists a <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code> object
+      whose <a href="#dom-workerglobalscope-closing" title="dom-WorkerGlobalScope-closing">closing</a>
+      flag is false, whose <code title="dom-WorkerGlobalScope-name">name</code> attribute is the
+      empty string, and whose <code title="dom-WorkerGlobalScope-location"><a href="#dom-workerglobalscope-location">location</a></code> attribute
+      represents an <span>absolute URL</span> that is exactly equal to
+      <var title="">scriptURL</var>, then let <var title="">worker
+      global scope</var> be that <code><a href="#sharedworkerglobalscope">SharedWorkerGlobalScope</a></code>
+      object.</p>
+
+     </li>
+
+     <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 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 particular <span>top-level
+      browsing context</span> from all other pages, and scripts in
+      that development mode could be blocked from connecting to shared
+      workers running in the normal browser mode.</p>
+
+     </li>
 
      <li>

Received on Tuesday, 25 October 2011 00:10:36 UTC