CVS html5/workers

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

Modified Files:
	Overview.html 
Log Message:
Allow UAs to disable workers on a page-by-page basis by throwing an exception in the constructor. (whatwg r7519)

--- /sources/public/html5/workers/Overview.html	2012/11/16 20:26:11	1.348
+++ /sources/public/html5/workers/Overview.html	2012/11/20 23:07:43	1.349
@@ -216,7 +216,7 @@
 
    <h1>Web Workers</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-16-november-2012">Editor's Draft 16 November 2012</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-20-november-2012">Editor's Draft 20 November 2012</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 16 November 2012 Editor's Draft.
+  This specification is the 20 November 2012 Editor's Draft.
   </p>
 
   
@@ -1978,7 +1978,11 @@
   </table><hr><p>When the <dfn id="dom-worker" title="dom-Worker"><code>Worker(<var title="">scriptURL</var>)</code></dfn> constructor is invoked, the
   user agent must run the following steps:</p>
 
-  <ol><li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument relative to the <span>entry
+  <ol><li><p>The user agent may throw a <code>SecurityError</code> exception and abort these steps if
+   the request violates a policy decision (e.g. if the user agent is configured to not allow the
+   page to start dedicated workers).</li>
+
+   <li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument relative to the <span>entry
    script</span>'s <span title="script's base URL">base URL</span>,
    when the method is invoked.</li>
 
@@ -2098,7 +2102,11 @@
   constructor is invoked, the user agent must run the following
   steps:</p>
 
-  <ol><li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument.</li>
+  <ol><li><p>The user agent may throw a <code>SecurityError</code> exception and abort these steps if
+   the request violates a policy decision (e.g. if the user agent is configured to not allow the
+   page to start shared workers).</li>
+
+   <li><p><span title="resolve a url">Resolve</span> the <var title="">scriptURL</var> argument.</li>
 
    <li><p>If this fails, throw a <code>SyntaxError</code>
    exception.</li>

Received on Tuesday, 20 November 2012 23:07:49 UTC