[html5] r6846 - [giow] (1) Change how the global scope objects are exposed in workers so that de [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 6 15:38:39 PST 2011


Author: ianh
Date: 2011-12-06 15:38:37 -0800 (Tue, 06 Dec 2011)
New Revision: 6846

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Change how the global scope objects are exposed in workers so that dedicated workers and shared workers have global scopes with different interface names, since they are different interfaces. This patch also fixes some TOPIC lines for the intro of the spec.
Affected topics: DOM APIs, HTML, Video Text Tracks, Web Workers, WebSocket API

Modified: complete.html
===================================================================
--- complete.html	2011-12-06 23:00:47 UTC (rev 6845)
+++ complete.html	2011-12-06 23:38:37 UTC (rev 6846)
@@ -1004,7 +1004,7 @@
     <ol>
      <li><a href=#the-global-scope><span class=secno>9.2.1 </span>The global scope</a>
       <ol>
-       <li><a href=#the-workerglobalscope-abstract-interface><span class=secno>9.2.1.1 </span>The <code>WorkerGlobalScope</code> abstract interface</a></li>
+       <li><a href=#the-workerglobalscope-common-interface><span class=secno>9.2.1.1 </span>The <code>WorkerGlobalScope</code> common interface</a></li>
        <li><a href=#dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code>DedicatedWorkerGlobalScope</code> interface</a></li>
        <li><a href=#shared-workers-and-the-sharedworkerglobalscope-interface><span class=secno>9.2.1.3 </span>Shared workers and the <code>SharedWorkerGlobalScope</code> interface</a></ol></li>
      <li><a href=#origins-of-workers><span class=secno>9.2.2 </span>Origins of workers</a></li>
@@ -3764,6 +3764,7 @@
 
    </dd>
 
+<!--TOPIC:DOM APIs-->
    <dt>DOM</dt>
 
    <dd>
@@ -3935,11 +3936,13 @@
     required for conforming IDL fragments, as described in the Web IDL
     specification. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
-    <p>The terms <dfn id=supported-property-indices>supported property indices</dfn>, <dfn id=supported-property-names>supported
-    property names</dfn>, <dfn id=determine-the-value-of-an-indexed-property>determine the value of an indexed
-    property</dfn>, <dfn id=determine-the-value-of-a-named-property>determine the value of a named
-    property</dfn>, <dfn id=platform-array-objects>platform array objects</dfn>, and <dfn id=dfn-read-only-array title=dfn-read-only-array>read only</dfn> (when applied to
-    arrays) are used as defined in the WebIDL specification.</p>
+    <p>The terms <dfn id=relevant-namespace-object>relevant namespace object</dfn>, <dfn id=supported-property-indices>supported
+    property indices</dfn>, <dfn id=supported-property-names>supported property names</dfn>,
+    <dfn id=determine-the-value-of-an-indexed-property>determine the value of an indexed property</dfn>,
+    <dfn id=determine-the-value-of-a-named-property>determine the value of a named property</dfn>, <dfn id=platform-array-objects>platform
+    array objects</dfn>, and <dfn id=dfn-read-only-array title=dfn-read-only-array>read
+    only</dfn> (when applied to arrays) are used as defined in the
+    WebIDL specification.</p>
 
     <p id=float-nan>Except where otherwise specified, if an IDL
     attribute that is a floating point number type (<code title="">double</code>) is assigned an Infinity or Not-a-Number
@@ -3983,6 +3986,8 @@
 
    </dd>
 
+<!--TOPIC:HTML-->
+
    <dt>Media Queries</dt>
 
    <dd>
@@ -3991,6 +3996,8 @@
 
    </dd>
 
+<!--TOPIC:Video Text Tracks-->
+
    <dt>WebVTT</dt>
 
    <dd>
@@ -4014,6 +4021,8 @@
      <li>The <dfn id=webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</dfn>
     </ul></dd>
 
+<!--TOPIC:HTML-->
+
    <dt>URIs, IRIs, IDNA</dt>
 
    <dd>
@@ -4101,12 +4110,13 @@
     </ul></dd>
 
 
+<!--TOPIC:WebSocket API-->
 
    <dt>The WebSocket protocol</dt>
 
    <dd>
 
-    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api--><!--TOPIC:WebSocket API-->
+    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api-->
 
     <p>The following terms are defined in the WebSocket protocol
     specification: <a href=#refsWSP>[WSP]</a></p>
@@ -4127,10 +4137,11 @@
      <li><dfn id=the-websocket-connection-close-code>the WebSocket connection close code</dfn>
      <li><dfn id=the-websocket-connection-close-reason>the WebSocket connection close reason</dfn>
 
-    </ul></div><!--data-component--><!--TOPIC:HTML-->
+    </ul></div><!--data-component-->
 
    </dd>
 
+<!--TOPIC:HTML-->
 
 
   </dl><p>This specification does not <em>require</em> support of any
@@ -61144,6 +61155,10 @@
 
   </dl><div class=impl>
 
+  <p>The <code><a href=#window>Window</a></code> interface must not exist if the
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is not a
+  <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p>The <dfn id=dom-window title=dom-window><code>window</code></dfn>, <dfn id=dom-frames title=dom-frames><code>frames</code></dfn>, and <dfn id=dom-self title=dom-self><code>self</code></dfn> IDL attributes must all
   return the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing
   context</a>'s <code><a href=#windowproxy>WindowProxy</a></code> object.</p>
@@ -74872,9 +74887,10 @@
 
   <p>The global scope is the "inside" of a worker.</p>
 
-  <h5 id=the-workerglobalscope-abstract-interface><span class=secno>9.2.1.1 </span>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> abstract interface</h5>
+  <h5 id=the-workerglobalscope-common-interface><span class=secno>9.2.1.1 </span>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> common interface</h5>
 
-  <pre class=idl>interface <dfn id=workerglobalscope>WorkerGlobalScope</dfn> : <a href=#eventtarget>EventTarget</a> {
+  <pre class=idl>[NoInterfaceObject]
+interface <dfn id=workerglobalscope>WorkerGlobalScope</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute <a href=#workerglobalscope>WorkerGlobalScope</a> <a href=#dom-workerglobalscope-self title=dom-WorkerGlobalScope-self>self</a>;
   readonly attribute <a href=#workerlocation>WorkerLocation</a> <a href=#dom-workerglobalscope-location title=dom-WorkerGlobalScope-location>location</a>;
 
@@ -74923,21 +74939,19 @@
    <tbody><!-- v2-onclose    <tr><td><dfn title="handler-WorkerGlobalScope-onclose"><code>onclose</code></dfn> <td> <code title="event-close">close</code> --><tr><td><dfn id=handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
     <tr><td><dfn id=handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline><code>onoffline</code></dfn> <td> <code title=event-offline><a href=#event-offline>offline</a></code> <!-- new -->
     <tr><td><dfn id=handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline><code>ononline</code></dfn> <td> <code title=event-online><a href=#event-online>online</a></code> <!-- new -->
-  </table><hr><p>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface must not exist if
-  the interface's <span>relevant namespace object</span> is a
-  <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+  </table><h5 id=dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface</h5>
 
-
-
-  <h5 id=dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface</h5>
-
-  <pre class=idl>[Supplemental, NoInterfaceObject]
-interface <dfn id=dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
+  <pre class=idl>interface <dfn id=dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</dfn> {
   void <a href=#dom-dedicatedworkerglobalscope-postmessage title=dom-DedicatedWorkerGlobalScope-postMessage>postMessage</a>(any message, optional sequence<<a href=#transferable>Transferable</a>> transfer);<!--
   <span>MessagePort</span> <span title="dom-DedicatedWorkerGlobalScope-startConversation">startConversation</span>(any message);-->
   [TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-dedicatedworkerglobalscope-onmessage title=handler-DedicatedWorkerGlobalScope-onmessage>onmessage</a>;
-};</pre>
+};
+<a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a> implements <a href=#workerglobalscope>WorkerGlobalScope</a>;</pre>
 
+  <p>The <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface must not
+  exist if the interface's <a href=#relevant-namespace-object>relevant namespace object</a> is
+  not a <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p><code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> objects act as if they
   had an implicit <code><a href=#messageport>MessagePort</a></code> associated with them. This
   port is part of a channel that is set up when the worker is created,
@@ -74972,13 +74986,17 @@
 
   <h5 id=shared-workers-and-the-sharedworkerglobalscope-interface><span class=secno>9.2.1.3 </span>Shared workers and the <code><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> interface</h5>
 
-  <pre class=idl>[Supplemental, NoInterfaceObject]
-interface <dfn id=sharedworkerglobalscope>SharedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
+  <pre class=idl>interface <dfn id=sharedworkerglobalscope>SharedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
   readonly attribute DOMString <a href=#dom-sharedworkerglobalscope-name title=dom-SharedWorkerGlobalScope-name>name</a>;
   readonly attribute <a href=#applicationcache>ApplicationCache</a> <a href=#dom-sharedworkerglobalscope-applicationcache title=dom-SharedWorkerGlobalScope-applicationCache>applicationCache</a>;
   [TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-sharedworkerglobalscope-onconnect title=handler-SharedWorkerGlobalScope-onconnect>onconnect</a>;
-};</pre>
+};
+<a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a> implements <a href=#workerglobalscope>WorkerGlobalScope</a>;</pre>
 
+  <p>The <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface must not
+  exist if the interface's <a href=#relevant-namespace-object>relevant namespace object</a> is
+  not a <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p>Shared workers receive message ports through <code title=event-WorkerGlobalScope-connect>connect</code> events on
   their global object for each connection.</p>
 
@@ -75992,7 +76010,7 @@
   </p>
 
   <p>This <code><a href=#workernavigator>WorkerNavigator</a></code> interface must not exist if the
-  interface's <span>relevant namespace object</span> is a
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is a
   <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
 
@@ -76068,7 +76086,7 @@
   </p>
 
   <p>The <code><a href=#workerlocation>WorkerLocation</a></code> interface must not exist if the
-  interface's <span>relevant namespace object</span> is a
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is a
   <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
 

Modified: index
===================================================================
--- index	2011-12-06 23:00:47 UTC (rev 6845)
+++ index	2011-12-06 23:38:37 UTC (rev 6846)
@@ -1004,7 +1004,7 @@
     <ol>
      <li><a href=#the-global-scope><span class=secno>9.2.1 </span>The global scope</a>
       <ol>
-       <li><a href=#the-workerglobalscope-abstract-interface><span class=secno>9.2.1.1 </span>The <code>WorkerGlobalScope</code> abstract interface</a></li>
+       <li><a href=#the-workerglobalscope-common-interface><span class=secno>9.2.1.1 </span>The <code>WorkerGlobalScope</code> common interface</a></li>
        <li><a href=#dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code>DedicatedWorkerGlobalScope</code> interface</a></li>
        <li><a href=#shared-workers-and-the-sharedworkerglobalscope-interface><span class=secno>9.2.1.3 </span>Shared workers and the <code>SharedWorkerGlobalScope</code> interface</a></ol></li>
      <li><a href=#origins-of-workers><span class=secno>9.2.2 </span>Origins of workers</a></li>
@@ -3764,6 +3764,7 @@
 
    </dd>
 
+<!--TOPIC:DOM APIs-->
    <dt>DOM</dt>
 
    <dd>
@@ -3935,11 +3936,13 @@
     required for conforming IDL fragments, as described in the Web IDL
     specification. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
-    <p>The terms <dfn id=supported-property-indices>supported property indices</dfn>, <dfn id=supported-property-names>supported
-    property names</dfn>, <dfn id=determine-the-value-of-an-indexed-property>determine the value of an indexed
-    property</dfn>, <dfn id=determine-the-value-of-a-named-property>determine the value of a named
-    property</dfn>, <dfn id=platform-array-objects>platform array objects</dfn>, and <dfn id=dfn-read-only-array title=dfn-read-only-array>read only</dfn> (when applied to
-    arrays) are used as defined in the WebIDL specification.</p>
+    <p>The terms <dfn id=relevant-namespace-object>relevant namespace object</dfn>, <dfn id=supported-property-indices>supported
+    property indices</dfn>, <dfn id=supported-property-names>supported property names</dfn>,
+    <dfn id=determine-the-value-of-an-indexed-property>determine the value of an indexed property</dfn>,
+    <dfn id=determine-the-value-of-a-named-property>determine the value of a named property</dfn>, <dfn id=platform-array-objects>platform
+    array objects</dfn>, and <dfn id=dfn-read-only-array title=dfn-read-only-array>read
+    only</dfn> (when applied to arrays) are used as defined in the
+    WebIDL specification.</p>
 
     <p id=float-nan>Except where otherwise specified, if an IDL
     attribute that is a floating point number type (<code title="">double</code>) is assigned an Infinity or Not-a-Number
@@ -3983,6 +3986,8 @@
 
    </dd>
 
+<!--TOPIC:HTML-->
+
    <dt>Media Queries</dt>
 
    <dd>
@@ -3991,6 +3996,8 @@
 
    </dd>
 
+<!--TOPIC:Video Text Tracks-->
+
    <dt>WebVTT</dt>
 
    <dd>
@@ -4014,6 +4021,8 @@
      <li>The <dfn id=webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</dfn>
     </ul></dd>
 
+<!--TOPIC:HTML-->
+
    <dt>URIs, IRIs, IDNA</dt>
 
    <dd>
@@ -4101,12 +4110,13 @@
     </ul></dd>
 
 
+<!--TOPIC:WebSocket API-->
 
    <dt>The WebSocket protocol</dt>
 
    <dd>
 
-    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api--><!--TOPIC:WebSocket API-->
+    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api-->
 
     <p>The following terms are defined in the WebSocket protocol
     specification: <a href=#refsWSP>[WSP]</a></p>
@@ -4127,10 +4137,11 @@
      <li><dfn id=the-websocket-connection-close-code>the WebSocket connection close code</dfn>
      <li><dfn id=the-websocket-connection-close-reason>the WebSocket connection close reason</dfn>
 
-    </ul></div><!--data-component--><!--TOPIC:HTML-->
+    </ul></div><!--data-component-->
 
    </dd>
 
+<!--TOPIC:HTML-->
 
 
   </dl><p>This specification does not <em>require</em> support of any
@@ -61144,6 +61155,10 @@
 
   </dl><div class=impl>
 
+  <p>The <code><a href=#window>Window</a></code> interface must not exist if the
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is not a
+  <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p>The <dfn id=dom-window title=dom-window><code>window</code></dfn>, <dfn id=dom-frames title=dom-frames><code>frames</code></dfn>, and <dfn id=dom-self title=dom-self><code>self</code></dfn> IDL attributes must all
   return the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing
   context</a>'s <code><a href=#windowproxy>WindowProxy</a></code> object.</p>
@@ -74872,9 +74887,10 @@
 
   <p>The global scope is the "inside" of a worker.</p>
 
-  <h5 id=the-workerglobalscope-abstract-interface><span class=secno>9.2.1.1 </span>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> abstract interface</h5>
+  <h5 id=the-workerglobalscope-common-interface><span class=secno>9.2.1.1 </span>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> common interface</h5>
 
-  <pre class=idl>interface <dfn id=workerglobalscope>WorkerGlobalScope</dfn> : <a href=#eventtarget>EventTarget</a> {
+  <pre class=idl>[NoInterfaceObject]
+interface <dfn id=workerglobalscope>WorkerGlobalScope</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute <a href=#workerglobalscope>WorkerGlobalScope</a> <a href=#dom-workerglobalscope-self title=dom-WorkerGlobalScope-self>self</a>;
   readonly attribute <a href=#workerlocation>WorkerLocation</a> <a href=#dom-workerglobalscope-location title=dom-WorkerGlobalScope-location>location</a>;
 
@@ -74923,21 +74939,19 @@
    <tbody><!-- v2-onclose    <tr><td><dfn title="handler-WorkerGlobalScope-onclose"><code>onclose</code></dfn> <td> <code title="event-close">close</code> --><tr><td><dfn id=handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
     <tr><td><dfn id=handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline><code>onoffline</code></dfn> <td> <code title=event-offline><a href=#event-offline>offline</a></code> <!-- new -->
     <tr><td><dfn id=handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline><code>ononline</code></dfn> <td> <code title=event-online><a href=#event-online>online</a></code> <!-- new -->
-  </table><hr><p>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface must not exist if
-  the interface's <span>relevant namespace object</span> is a
-  <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+  </table><h5 id=dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface</h5>
 
-
-
-  <h5 id=dedicated-workers-and-the-dedicatedworkerglobalscope-interface><span class=secno>9.2.1.2 </span>Dedicated workers and the <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface</h5>
-
-  <pre class=idl>[Supplemental, NoInterfaceObject]
-interface <dfn id=dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
+  <pre class=idl>interface <dfn id=dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</dfn> {
   void <a href=#dom-dedicatedworkerglobalscope-postmessage title=dom-DedicatedWorkerGlobalScope-postMessage>postMessage</a>(any message, optional sequence<<a href=#transferable>Transferable</a>> transfer);<!--
   <span>MessagePort</span> <span title="dom-DedicatedWorkerGlobalScope-startConversation">startConversation</span>(any message);-->
   [TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-dedicatedworkerglobalscope-onmessage title=handler-DedicatedWorkerGlobalScope-onmessage>onmessage</a>;
-};</pre>
+};
+<a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a> implements <a href=#workerglobalscope>WorkerGlobalScope</a>;</pre>
 
+  <p>The <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface must not
+  exist if the interface's <a href=#relevant-namespace-object>relevant namespace object</a> is
+  not a <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p><code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> objects act as if they
   had an implicit <code><a href=#messageport>MessagePort</a></code> associated with them. This
   port is part of a channel that is set up when the worker is created,
@@ -74972,13 +74986,17 @@
 
   <h5 id=shared-workers-and-the-sharedworkerglobalscope-interface><span class=secno>9.2.1.3 </span>Shared workers and the <code><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code> interface</h5>
 
-  <pre class=idl>[Supplemental, NoInterfaceObject]
-interface <dfn id=sharedworkerglobalscope>SharedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
+  <pre class=idl>interface <dfn id=sharedworkerglobalscope>SharedWorkerGlobalScope</dfn> : <a href=#workerglobalscope>WorkerGlobalScope</a> {
   readonly attribute DOMString <a href=#dom-sharedworkerglobalscope-name title=dom-SharedWorkerGlobalScope-name>name</a>;
   readonly attribute <a href=#applicationcache>ApplicationCache</a> <a href=#dom-sharedworkerglobalscope-applicationcache title=dom-SharedWorkerGlobalScope-applicationCache>applicationCache</a>;
   [TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-sharedworkerglobalscope-onconnect title=handler-SharedWorkerGlobalScope-onconnect>onconnect</a>;
-};</pre>
+};
+<a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a> implements <a href=#workerglobalscope>WorkerGlobalScope</a>;</pre>
 
+  <p>The <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> interface must not
+  exist if the interface's <a href=#relevant-namespace-object>relevant namespace object</a> is
+  not a <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
   <p>Shared workers receive message ports through <code title=event-WorkerGlobalScope-connect>connect</code> events on
   their global object for each connection.</p>
 
@@ -75992,7 +76010,7 @@
   </p>
 
   <p>This <code><a href=#workernavigator>WorkerNavigator</a></code> interface must not exist if the
-  interface's <span>relevant namespace object</span> is a
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is a
   <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
 
@@ -76068,7 +76086,7 @@
   </p>
 
   <p>The <code><a href=#workerlocation>WorkerLocation</a></code> interface must not exist if the
-  interface's <span>relevant namespace object</span> is a
+  interface's <a href=#relevant-namespace-object>relevant namespace object</a> is a
   <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
 
 

Modified: source
===================================================================
--- source	2011-12-06 23:00:47 UTC (rev 6845)
+++ source	2011-12-06 23:38:37 UTC (rev 6846)
@@ -2702,6 +2702,7 @@
 
    </dd>
 
+<!--TOPIC:DOM APIs-->
    <dt>DOM</dt>
 
    <dd>
@@ -2893,12 +2894,13 @@
     required for conforming IDL fragments, as described in the Web IDL
     specification. <a href="#refsWEBIDL">[WEBIDL]</a></p>
 
-    <p>The terms <dfn>supported property indices</dfn>, <dfn>supported
-    property names</dfn>, <dfn>determine the value of an indexed
-    property</dfn>, <dfn>determine the value of a named
-    property</dfn>, <dfn>platform array objects</dfn>, and <dfn
-    title="dfn-read-only-array">read only</dfn> (when applied to
-    arrays) are used as defined in the WebIDL specification.</p>
+    <p>The terms <dfn>relevant namespace object</dfn>, <dfn>supported
+    property indices</dfn>, <dfn>supported property names</dfn>,
+    <dfn>determine the value of an indexed property</dfn>,
+    <dfn>determine the value of a named property</dfn>, <dfn>platform
+    array objects</dfn>, and <dfn title="dfn-read-only-array">read
+    only</dfn> (when applied to arrays) are used as defined in the
+    WebIDL specification.</p>
 
     <p id="float-nan">Except where otherwise specified, if an IDL
     attribute that is a floating point number type (<code
@@ -2945,6 +2947,8 @@
 
    </dd>
 
+<!--TOPIC:HTML-->
+
    <dt>Media Queries</dt>
 
    <dd>
@@ -2954,6 +2958,8 @@
 
    </dd>
 
+<!--TOPIC:Video Text Tracks-->
+
    <dt>WebVTT</dt>
 
    <dd>
@@ -2980,6 +2986,8 @@
 
    </dd>
 
+<!--TOPIC:HTML-->
+
    <dt>URIs, IRIs, IDNA</dt>
 
    <dd>
@@ -3086,12 +3094,13 @@
    </dd>
 
 <!--END dev-html--><!--END w3c-html-->
+<!--TOPIC:WebSocket API-->
 
    <dt>The WebSocket protocol</dt>
 
    <dd>
 
-    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api--><!--TOPIC:WebSocket API-->
+    <div data-component="WebSocket API (editor: Ian Hickson)"><!--websocket-api-->
 
     <p>The following terms are defined in the WebSocket protocol
     specification: <a href="#refsWSP">[WSP]</a></p>
@@ -3116,10 +3125,11 @@
 
     </ul>
 
-    </div><!--data-component--><!--TOPIC:HTML-->
+    </div><!--data-component-->
 
    </dd>
 
+<!--TOPIC:HTML-->
 <!--START dev-html--><!--START w3c-html-->
 
   </dl>
@@ -71580,6 +71590,10 @@
 
   <div class="impl">
 
+  <p>The <code>Window</code> interface must not exist if the
+  interface's <span>relevant namespace object</span> is not a
+  <code>Window</code> object. <a href="#refsWEBIDL">[WEBIDL]</a></p>
+
   <p>The <dfn title="dom-window"><code>window</code></dfn>, <dfn
   title="dom-frames"><code>frames</code></dfn>, and <dfn
   title="dom-self"><code>self</code></dfn> IDL attributes must all
@@ -86769,9 +86783,10 @@
 
   <p>The global scope is the "inside" of a worker.</p>
 
-  <h5>The <code>WorkerGlobalScope</code> abstract interface</h5>
+  <h5>The <code>WorkerGlobalScope</code> common interface</h5>
 
-  <pre class="idl">interface <dfn>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
+  <pre class="idl">[NoInterfaceObject]
+interface <dfn>WorkerGlobalScope</dfn> : <span>EventTarget</span> {
   readonly attribute <span>WorkerGlobalScope</span> <span title="dom-WorkerGlobalScope-self">self</span>;
   readonly attribute <span>WorkerLocation</span> <span title="dom-WorkerGlobalScope-location">location</span>;
 
@@ -86835,23 +86850,23 @@
     <tr><td><dfn title="handler-WorkerGlobalScope-ononline"><code>ononline</code></dfn> <td> <code title="event-online">online</code> <!-- new -->
   </table>
 
-  <hr>
 
-  <p>The <code>WorkerGlobalScope</code> interface must not exist if
-  the interface's <span>relevant namespace object</span> is a
-  <code>Window</code> object. <a href="#refsWEBIDL">[WEBIDL]</a></p>
 
 
-
   <h5>Dedicated workers and the <code>DedicatedWorkerGlobalScope</code> interface</h5>
 
-  <pre class="idl">[Supplemental, NoInterfaceObject]
-interface <dfn>DedicatedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
+  <pre class="idl">interface <dfn>DedicatedWorkerGlobalScope</dfn> {
   void <span title="dom-DedicatedWorkerGlobalScope-postMessage">postMessage</span>(any message, optional sequence<<span>Transferable</span>> transfer);<!--
   <span>MessagePort</span> <span title="dom-DedicatedWorkerGlobalScope-startConversation">startConversation</span>(any message);-->
   [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-DedicatedWorkerGlobalScope-onmessage">onmessage</span>;
-};</pre>
+};
+<span>DedicatedWorkerGlobalScope</span> implements <span>WorkerGlobalScope</span>;</pre>
 
+  <p>The <code>DedicatedWorkerGlobalScope</code> interface must not
+  exist if the interface's <span>relevant namespace object</span> is
+  not a <code>DedicatedWorkerGlobalScope</code> object. <a
+  href="#refsWEBIDL">[WEBIDL]</a></p>
+
   <p><code>DedicatedWorkerGlobalScope</code> objects act as if they
   had an implicit <code>MessagePort</code> associated with them. This
   port is part of a channel that is set up when the worker is created,
@@ -86892,13 +86907,18 @@
 
   <h5>Shared workers and the <code>SharedWorkerGlobalScope</code> interface</h5>
 
-  <pre class="idl">[Supplemental, NoInterfaceObject]
-interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
+  <pre class="idl">interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
   readonly attribute DOMString <span title="dom-SharedWorkerGlobalScope-name">name</span>;
   readonly attribute <span>ApplicationCache</span> <span title="dom-SharedWorkerGlobalScope-applicationCache">applicationCache</span>;
   [TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-SharedWorkerGlobalScope-onconnect">onconnect</span>;
-};</pre>
+};
+<span>SharedWorkerGlobalScope</span> implements <span>WorkerGlobalScope</span>;</pre>
 
+  <p>The <code>DedicatedWorkerGlobalScope</code> interface must not
+  exist if the interface's <span>relevant namespace object</span> is
+  not a <code>DedicatedWorkerGlobalScope</code> object. <a
+  href="#refsWEBIDL">[WEBIDL]</a></p>
+
   <p>Shared workers receive message ports through <code
   title="event-WorkerGlobalScope-connect">connect</code> events on
   their global object for each connection.</p>




More information about the Commit-Watchers mailing list