[html5] r4394 - [giow] (0) Change the way that WebWorkers defines which interfaces are visible s [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 1 21:17:17 PST 2009


Author: ianh
Date: 2009-12-01 21:17:15 -0800 (Tue, 01 Dec 2009)
New Revision: 4394

Modified:
   complete.html
   source
Log:
[giow] (0) Change the way that WebWorkers defines which interfaces are visible so that it doesn't have to continually be updated.

Modified: complete.html
===================================================================
--- complete.html	2009-12-02 02:36:48 UTC (rev 4393)
+++ complete.html	2009-12-02 05:17:15 UTC (rev 4394)
@@ -47163,7 +47163,6 @@
   <h4 id=vevent><span class=secno>5.4.2 </span>vEvent</h4>
 
 
-
   <p>An item with the <a href=#item-type>item type</a> <dfn id=md-vevent title=md-vevent><code>http://microformats.org/profile/hcalendar#vevent</code></dfn>
   represents an event.</p>
 
@@ -63729,11 +63728,13 @@
   worker's scripts, if the error did not occur while handling a
   previous script error, the user agent must <a href=#report-the-error>report the
   error</a> using the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object's <code title=handler-WorkerGlobalScope-onerror><a href=#handler-workerglobalscope-onerror>onerror</a></code>
-  attribute. <a href=#refsHTML5>[HTML5]</a></p>
+  attribute.
+  </p>
 
   <p>For shared workers, if the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> afterwards, or if
   the error occurred while handling a previous script error, the error
-  should be reported to the user. <a href=#refsHTML5>[HTML5]</a></p>
+  should be reported to the user.
+  </p>
 
   <p>For dedicated workers, if the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> afterwards, or if
   the error occurred while handling a previous script error, the user
@@ -64266,7 +64267,8 @@
 
   <p>Objects implementing the <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code> interface also implement
   the <code><a href=#navigatorid>NavigatorID</a></code> and <code><a href=#navigatoronline>NavigatorOnLine</a></code>
-  interfaces. <a href=#refsHTML5>[HTML5]</a></p>
+  interfaces.
+  </p>
 
   <p class=note>The <code title=worker-Navigator><a href=#worker-navigator>Navigator</a></code>
   interface defined in this specification is different than the one
@@ -64297,21 +64299,27 @@
    <span><code>XMLHttpRequest</code> origin</span> is the script's
    <a href=#origin>origin</a>. <a href=#refsXHR>[XHR]</a></li>
 
-   <li><p>The <code><a href=#websocket>WebSocket</a></code> interface object and
-   constructor. 
-   </li>
+   <li><p>The interface objects and constructors defined by this
+   specification.</li>
 
-   <li><p>The <code><a href=#eventsource>EventSource</a></code> interface object and
-   constructor.
-   </li>
+   <li><p>Constructors defined by specifications that explicitly say
+   that they should be visible when the <a href="#script's-global-object">script's global
+   object</a> is a <code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code>, a
+   <code><a href=#sharedworkerglobalscope>SharedWorkerGlobalScope</a></code>, or an object implementing the
+   <code><a href=#workerutils>WorkerUtils</a></code> interface; the interfaces of any objects
+   with such constructors; and the interfaces of any objects made
+   accessible through APIs exposed by those constructors or made
+   accessible through interfaces to be implemented by any objects that
+   are themselves accessible to scripts whose <a href="#script's-global-object">script's global
+   object</a> implements the <code><a href=#workerutils>WorkerUtils</a></code>
+   interface.</li>
 
-   <li><p>The <code><a href=#messagechannel>MessageChannel</a></code> interface object and
-   constructor. <a href=#refsHTML5>[HTML5]</a></li>
+  </ul><p class=note>These requirements do not override the requirements
+  defined by the Web IDL specification, in particular concerning the
+  visibility of interfaces annotated with the <code title="">[NoInterfaceObject]</code> extended attribute.</p>
 
-   <li><p>The <code title=dom-Worker><a href=#dom-worker>Worker</a></code> and <code title=dom-SharedWorker><a href=#dom-sharedworker>SharedWorker</a></code> interface objects and
-   constructors.</li>
 
-  </ul><h4 id=worker-locations><span class=secno>9.3.5 </span>Worker locations</h4>
+  <h4 id=worker-locations><span class=secno>9.3.5 </span>Worker locations</h4>
 
   <pre class=idl>interface <dfn id=workerlocation>WorkerLocation</dfn> {
   readonly attribute DOMString <a href=#dom-workerlocation-href title=dom-WorkerLocation-href>href</a>;
@@ -64342,7 +64350,8 @@
   <a href=#absolute-url>absolute URL</a> that the object represents (same as the
   <code title=dom-WorkerLocation-href><a href=#dom-workerlocation-href>href</a></code> attribute), and
   the <a href=#concept-uda-setter title=concept-uda-setter>common setter action</a>
-  being a no-op, since the attributes are defined to be readonly. <a href=#refsHTML5>[HTML5]</a></p>
+  being a no-op, since the attributes are defined to be readonly.
+  </p>
 
   
 
@@ -85671,17 +85680,6 @@
    <dd>(Non-normative) <cite>Inter Gravissimas</cite>, A. Lilius,
    C. Clavius. Gregory XIII Papal Bulls, February 1582.</dd>
 
-   <dt id=refsHTML5>[HTML5]</dt>
-   <!--
-   <dd><cite><a href="http://www.w3.org/TR/html5/">HTML5</a></cite>,
-   I. Hickson, D. Hyatt. W3C, April 2009.</dd>
-   <dd><cite><a
-   href="http://www.w3.org/html/wg/html5/">HTML5</a></cite>,
-   I. Hickson, D. Hyatt. W3C, August 2009.</dd>
-   -->
-   <dd><cite><a href=http://www.whatwg.org/specs/web-apps/current-work/>HTML5</a></cite>,
-   I. Hickson. WHATWG, August 2009.</dd>
-
    <dt id=refsHTMLDIFF>[HTMLDIFF]</dt>
    <!--
    <dd>(Non-normative) <cite><a

Modified: source
===================================================================
--- source	2009-12-02 02:36:48 UTC (rev 4393)
+++ source	2009-12-02 05:17:15 UTC (rev 4394)
@@ -52838,8 +52838,8 @@
 
   <h4>vEvent</h4>
 
-<!--END vocabs-->
-<!--START vEvent--><!--END complete-->
+<!--END vocabs--><!--END complete-->
+<!--START vEvent-->
 
   <h4 class="no-num no-toc">Table of contents</h4>
   <!--toc-->
@@ -72629,12 +72629,20 @@
   previous script error, the user agent must <span>report the
   error</span> using the <code>WorkerGlobalScope</code> object's <code
   title="handler-WorkerGlobalScope-onerror">onerror</code>
-  attribute. <a href="#refsHTML5">[HTML5]</a></p>
+  attribute.
+  <!--END complete-->
+  <a href="#refsHTML5">[HTML5]</a>
+  <!--START complete-->
+  </p>
 
   <p>For shared workers, if the error is still <i
   title="concept-error-nothandled">not handled</i> afterwards, or if
   the error occurred while handling a previous script error, the error
-  should be reported to the user. <a href="#refsHTML5">[HTML5]</a></p>
+  should be reported to the user.
+  <!--END complete-->
+  <a href="#refsHTML5">[HTML5]</a>
+  <!--START complete-->
+  </p>
 
   <p>For dedicated workers, if the error is still <i
   title="concept-error-nothandled">not handled</i> afterwards, or if
@@ -73267,7 +73275,11 @@
   <p>Objects implementing the <code
   title="worker-Navigator">Navigator</code> interface also implement
   the <code>NavigatorID</code> and <code>NavigatorOnLine</code>
-  interfaces. <a href="#refsHTML5">[HTML5]</a></p>
+  interfaces.
+  <!--END complete-->
+  <a href="#refsHTML5">[HTML5]</a>
+  <!--START complete-->
+  </p>
 
   <p class="note">The <code title="worker-Navigator">Navigator</code>
   interface defined in this specification is different than the one
@@ -73301,30 +73313,29 @@
    <span><code>XMLHttpRequest</code> origin</span> is the script's
    <span>origin</span>. <a href="#refsXHR">[XHR]</a></p></li>
 
-   <li><p>The <code>WebSocket</code> interface object and
-   constructor. 
-   <!--END complete-->
-   <a href="#refsWEBSOCKET">[WEBSOCKET]</a>
-   <!--START complete-->
-   </p></li>
+   <li><p>The interface objects and constructors defined by this
+   specification.</p></li>
 
-   <li><p>The <code>EventSource</code> interface object and
-   constructor.
-   <!--END complete-->
-   <a href="#refsEVENTSOURCE">[EVENTSOURCE]</a>
-   <!--START complete-->
-   </p></li>
+   <li><p>Constructors defined by specifications that explicitly say
+   that they should be visible when the <span>script's global
+   object</span> is a <code>DedicatedWorkerGlobalScope</code>, a
+   <code>SharedWorkerGlobalScope</code>, or an object implementing the
+   <code>WorkerUtils</code> interface; the interfaces of any objects
+   with such constructors; and the interfaces of any objects made
+   accessible through APIs exposed by those constructors or made
+   accessible through interfaces to be implemented by any objects that
+   are themselves accessible to scripts whose <span>script's global
+   object</span> implements the <code>WorkerUtils</code>
+   interface.</p></li>
 
-   <li><p>The <code>MessageChannel</code> interface object and
-   constructor. <a href="#refsHTML5">[HTML5]</a></p></li>
+  </ul>
 
-   <li><p>The <code title="dom-Worker">Worker</code> and <code
-   title="dom-SharedWorker">SharedWorker</code> interface objects and
-   constructors.</p></li>
+  <p class="note">These requirements do not override the requirements
+  defined by the Web IDL specification, in particular concerning the
+  visibility of interfaces annotated with the <code
+  title="">[NoInterfaceObject]</code> extended attribute.</p>
 
-  </ul>
 
-
   <h4>Worker locations</h4>
 
   <pre class="idl">interface <dfn>WorkerLocation</dfn> {
@@ -73361,8 +73372,11 @@
   <span>absolute URL</span> that the object represents (same as the
   <code title="dom-WorkerLocation-href">href</code> attribute), and
   the <span title="concept-uda-setter">common setter action</span>
-  being a no-op, since the attributes are defined to be readonly. <a
-  href="#refsHTML5">[HTML5]</a></p>
+  being a no-op, since the attributes are defined to be readonly.
+  <!--END complete-->
+  <a href="#refsHTML5">[HTML5]</a>
+  <!--START complete-->
+  </p>
 
   <!--END workers--><!--START html5-->
 




More information about the Commit-Watchers mailing list