[html5] r4424 - [giow] (1) Prevent WorkerGlobalScope, Location, and WorkerNavigator from being v [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Dec 9 06:54:28 PST 2009
Author: ianh
Date: 2009-12-09 06:54:25 -0800 (Wed, 09 Dec 2009)
New Revision: 4424
Modified:
complete.html
source
Log:
[giow] (1) Prevent WorkerGlobalScope, Location, and WorkerNavigator from being visible on Window objects.
Modified: complete.html
===================================================================
--- complete.html 2009-12-09 14:39:41 UTC (rev 4423)
+++ complete.html 2009-12-09 14:54:25 UTC (rev 4424)
@@ -63311,8 +63311,14 @@
<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<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>
- </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>
+ </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>
+
+
+ <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> {
void <a href=#dom-dedicatedworkerglobalscope-postmessage title=dom-DedicatedWorkerGlobalScope-postMessage>postMessage</a>(in any message, in optional <a href=#messageportarray>MessagePortArray</a> ports);<!--
@@ -64315,11 +64321,18 @@
</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
- defined in the HTML specification.</p>
+ interface defined here is different than <a href=#navigator title=Navigator>the
+ one</a> that exists on the <code><a href=#window>Window</a></code> object as the
+ <code title=dom-navigator><a href=#dom-navigator>navigator</a></code> property.</p>
+
+ <p>This <code title=worker-Navigator><a href=#worker-navigator>Navigator</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, where it would
+ otherwise clash with the other <code><a href=#navigator>Navigator</a></code> interface. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
<h4 id=apis-defined-in-other-specifications><span class=secno>9.3.3 </span>APIs defined in other specifications</h4>
<p>The <code title=dom-opendatabase>openDatabase()</code> and
@@ -64397,6 +64410,11 @@
being a no-op, since the attributes are defined to be readonly.
</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
+ <code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
+
+
Modified: source
===================================================================
--- source 2009-12-09 14:39:41 UTC (rev 4423)
+++ source 2009-12-09 14:54:25 UTC (rev 4424)
@@ -72153,7 +72153,14 @@
<tr><td><dfn title="handler-WorkerGlobalScope-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
</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]
@@ -73338,12 +73345,26 @@
<!--START complete-->
</p>
+ <!--END complete-->
<p class="note">The <code title="worker-Navigator">Navigator</code>
interface defined in this specification is different than the one
defined in the HTML specification.</p>
+ <!--END workers-->
+ <!--START complete-->
+ <p class="note">The <code title="worker-Navigator">Navigator</code>
+ interface defined here is different than <span title="Navigator">the
+ one</span> that exists on the <code>Window</code> object as the
+ <code title="dom-navigator">navigator</code> property.</p>
+ <!--START workers-->
+ <p>This <code title="worker-Navigator">Navigator</code> interface
+ must not exist if the interface's <span>relevant namespace
+ object</span> is a <code>Window</code> object, where it would
+ otherwise clash with the other <code>Navigator</code> interface. <a
+ href="#refsWEBIDL">[WEBIDL]</a></p>
+
<h4>APIs defined in other specifications</h4>
<p>The <code title="dom-opendatabase">openDatabase()</code> and
@@ -73435,6 +73456,11 @@
<!--START complete-->
</p>
+ <p>The <code>WorkerLocation</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>
+
+
<!--END workers--><!--START html5-->
More information about the Commit-Watchers
mailing list