[html5] r6378 - [giow] (2) Move the Web to a world where things that implement EventTarget just [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 5 16:43:49 PDT 2011


Author: ianh
Date: 2011-08-05 16:43:48 -0700 (Fri, 05 Aug 2011)
New Revision: 6378

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Move the Web to a world where things that implement EventTarget just inherit from it. I, for one, now welcome our new EventTarget overlords.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12574

Modified: complete.html
===================================================================
--- complete.html	2011-08-05 23:34:52 UTC (rev 6377)
+++ complete.html	2011-08-05 23:43:48 UTC (rev 6378)
@@ -31174,7 +31174,7 @@
 
   </div>
 
-  <hr><pre class=idl>interface <dfn id=texttrack>TextTrack</dfn> {
+  <hr><pre class=idl>interface <dfn id=texttrack>TextTrack</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-texttrack-kind title=dom-TextTrack-kind>kind</a>;
   readonly attribute DOMString <a href=#dom-texttrack-label title=dom-TextTrack-label>label</a>;
   readonly attribute DOMString <a href=#dom-texttrack-language title=dom-TextTrack-language>language</a>;
@@ -31197,7 +31197,6 @@
 
            attribute <a href=#function>Function</a>? <a href=#handler-texttrack-oncuechange title=handler-TextTrack-oncuechange>oncuechange</a>;
 };
-<a href=#texttrack>TextTrack</a> implements <a href=#eventtarget>EventTarget</a>;
 
 typedef <a href=#texttrack>TextTrack</a>[] <dfn id=texttracklist>TextTrackList</dfn>;</pre>
 
@@ -31603,7 +31602,7 @@
 <!--TTVTT-->
 [<a href=#dom-texttrackcue title=dom-TextTrackCue>Constructor</a>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
 <!--TTVTT-->
-interface <dfn id=texttrackcue>TextTrackCue</dfn> {
+interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute <a href=#texttrack>TextTrack</a>? <a href=#dom-texttrackcue-track title=dom-TextTrackCue-track>track</a>;
   readonly attribute DOMString <a href=#dom-texttrackcue-id title=dom-TextTrackCue-id>id</a>;
 
@@ -31625,8 +31624,7 @@
 
            attribute <a href=#function>Function</a>? <a href=#handler-texttrackcue-onenter title=handler-TextTrackCue-onenter>onenter</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-texttrackcue-onexit title=handler-TextTrackCue-onexit>onexit</a>;
-};
-<a href=#texttrackcue>TextTrackCue</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <dl class=domintro><!--TTVTT--><dt><var title="">cue</var> = new <code title=dom-TextTrackCue><a href=#dom-texttrackcue>TextTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
    <dd>
@@ -61726,7 +61724,7 @@
   <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>Window</a></code> object</h3>
 
   <pre class=idl>[ReplaceableNamedProperties] <!-- XXX http://www.w3.org/Bugs/Public/show_bug.cgi?id=8241 -->
-interface <dfn id=window>Window</dfn> {
+interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
   // the current browsing context
   readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-window title=dom-window>window</a>;
   readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-self title=dom-self>self</a>;
@@ -61847,8 +61845,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-};
-<a href=#window>Window</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -67203,7 +67200,7 @@
 
   <h4 id=application-cache-api><span class=secno>6.6.9 </span>Application cache API</h4>
 
-  <pre class=idl>interface <dfn id=applicationcache>ApplicationCache</dfn> {
+  <pre class=idl>interface <dfn id=applicationcache>ApplicationCache</dfn> : <a href=#eventtarget>EventTarget</a> {
 
   // <a href=#concept-appcache-status title=concept-appcache-status>update status</a>
   const unsigned short <a href=#dom-appcache-uncached title=dom-appcache-UNCACHED>UNCACHED</a> = 0;
@@ -67228,8 +67225,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-onupdateready title=handler-appcache-onupdateready>onupdateready</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-oncached title=handler-appcache-oncached>oncached</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-onobsolete title=handler-appcache-onobsolete>onobsolete</a>;
-};
-<a href=#applicationcache>ApplicationCache</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <dl class=domintro><dt><var title="">cache</var> = <var title="">window</var> . <code title=dom-applicationCache><a href=#dom-applicationcache>applicationCache</a></code></dt>
    <dd>
@@ -75589,7 +75585,7 @@
   object would then be readable using the File API -->
 
   <pre class=idl>[<a href=#dom-mediastream title=dom-MediaStream>Constructor</a>(in <a href=#mediastream>MediaStream</a> parentStream)]
-interface <dfn id=mediastream>MediaStream</dfn> {
+interface <dfn id=mediastream>MediaStream</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-mediastream-label title=dom-MediaStream-label>label</a>;
   readonly attribute <a href=#mediastreamtracklist>MediaStreamTrackList</a> <a href=#dom-mediastream-tracks title=dom-MediaStream-tracks>tracks</a>;
 
@@ -75601,7 +75597,6 @@
   readonly attribute unsigned short <a href=#dom-mediastream-readystate title=dom-MediaStream-readyState>readyState</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-mediastream-onended title=handler-MediaStream-onended>onended</a>;
 };
-<a href=#mediastream>MediaStream</a> implements <a href=#eventtarget>EventTarget</a>;
 
 interface <dfn id=localmediastream>LocalMediaStream</dfn> : <a href=#mediastream>MediaStream</a> {
   void <a href=#dom-mediastream-stop title=dom-MediaStream-stop>stop</a>();
@@ -76208,7 +76203,7 @@
   <h4 id=interface-definitions-0><span class=secno>9.4.2 </span>Interface definitions</h4>
 
   <pre class=idl>[<a href=#dom-peerconnection title=dom-PeerConnection>Constructor</a>(in DOMString configuration, in <a href=#signalingcallback>SignalingCallback</a> signalingCallback)]
-interface <dfn id=peerconnection>PeerConnection</dfn> {
+interface <dfn id=peerconnection>PeerConnection</dfn> : <a href=#eventtarget>EventTarget</a> {
   void <a href=#dom-peerconnection-processsignalingmessage title=dom-PeerConnection-processSignalingMessage>processSignalingMessage</a>(in DOMString message);
 
   const unsigned short <a href=#dom-peerconnection-new title=dom-PeerConnection-NEW>NEW</a> = 0;
@@ -76234,7 +76229,6 @@
            attribute <a href=#function>Function</a>? <a href=#handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream>onaddstream</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream>onremovestream</a>;
 };
-<a href=#peerconnection>PeerConnection</a> implements <a href=#eventtarget>EventTarget</a>;
 
 [Callback=FunctionOnly, NoInterfaceObject]
 interface <dfn id=signalingcallback>SignalingCallback</dfn> {
@@ -78324,7 +78318,7 @@
 
   <h5 id=the-workerglobalscope-abstract-interface><span class=secno>10.2.1.1 </span>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> abstract interface</h5>
 
-  <pre class=idl>interface <dfn id=workerglobalscope>WorkerGlobalScope</dfn> {
+  <pre class=idl>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>;
 
@@ -78334,8 +78328,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline>onoffline</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline>ononline</a>;
 };
-<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#workerutils>WorkerUtils</a>;
-<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#workerutils>WorkerUtils</a>;</pre>
 
   <p>The <dfn id=dom-workerglobalscope-self title=dom-WorkerGlobalScope-self><code>self</code></dfn> attribute
   must return the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object itself.</p>
@@ -78914,11 +78907,10 @@
   <h5 id=the-abstractworker-abstract-interface><span class=secno>10.2.7.1 </span>The <code><a href=#abstractworker>AbstractWorker</a></code> abstract interface</h5>
 
   <pre class=idl>[Supplemental, NoInterfaceObject]
-interface <dfn id=abstractworker>AbstractWorker</dfn> {
+interface <dfn id=abstractworker>AbstractWorker</dfn> : <a href=#eventtarget>EventTarget</a> {
            attribute <a href=#function>Function</a>? <a href=#handler-abstractworker-onerror title=handler-AbstractWorker-onerror>onerror</a>;
 <!-- v2-onclose           attribute <span>Function</span>? <span title="handler-AbstractWorker-onclose">onclose</span>; -->
-};
-<a href=#abstractworker>AbstractWorker</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <p>The following are the <a href=#event-handlers>event handlers</a> (and their
   corresponding <a href=#event-handler-event-type title="event handler event type">event handler
@@ -79668,7 +79660,7 @@
   <h4 id=the-eventsource-interface><span class=secno>11.2.2 </span>The <code><a href=#eventsource>EventSource</a></code> interface</h4>
 
   <pre class=idl>[<a href=#dom-eventsource title=dom-EventSource>Constructor</a>(in DOMString url)]
-interface <dfn id=eventsource>EventSource</dfn> {
+interface <dfn id=eventsource>EventSource</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-eventsource-url title=dom-EventSource-url>url</a>;
 
   // ready state
@@ -79682,8 +79674,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-eventsource-onmessage title=handler-EventSource-onmessage>onmessage</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-eventsource-onerror title=handler-EventSource-onerror>onerror</a>;
   void <a href=#dom-eventsource-close title=dom-EventSource-close>close</a>();
-};
-<a href=#eventsource>EventSource</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <p>The <dfn id=dom-eventsource title=dom-EventSource><code>EventSource(<var title="">url</var>)</code></dfn> constructor takes one argument,
   <var title="">url</var>, which specifies the <a href=#url>URL</a> to
@@ -80465,7 +80456,7 @@
 
   <pre class=idl>[<a href=#dom-websocket title=dom-WebSocket>Constructor</a>(in DOMString url, in optional DOMString protocols),
  <a href=#dom-websocket title=dom-WebSocket>Constructor</a>(in DOMString url, in optional DOMString[] protocols)]
-interface <dfn id=websocket>WebSocket</dfn> {
+interface <dfn id=websocket>WebSocket</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-websocket-url title=dom-WebSocket-url>url</a>;
 
   // ready state
@@ -80490,8 +80481,7 @@
   void <a href=#dom-websocket-send title=dom-WebSocket-send>send</a>(in DOMString data);
   void <a href=#dom-websocket-send title=dom-WebSocket-send>send</a>(in <span>ArrayBuffer</span> data);
   void <a href=#dom-websocket-send title=dom-WebSocket-send>send</a>(in <a href=#blob>Blob</a> data);
-};
-<a href=#websocket>WebSocket</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <p>The <dfn id=dom-websocket title=dom-WebSocket><code>WebSocket(<var title="">url</var>, <var title="">protocols</var>)</code></dfn>
   constructor takes one or two arguments. The first argument, <var title="">url</var>, specifies the <a href=#url>URL</a> to which to
@@ -81472,7 +81462,7 @@
   <p>Each channel has two message ports. Data sent through one port is
   received by the other port, and vice versa.</p>
 
-  <pre class=idl>interface <dfn id=messageport>MessagePort</dfn> {
+  <pre class=idl>interface <dfn id=messageport>MessagePort</dfn> : <a href=#eventtarget>EventTarget</a> {
 <!-- v2-onclose  readonly attribute boolean <span title="dom-MessagePort-active">active</span>;
 -->  void <a href=#dom-messageport-postmessage title=dom-MessagePort-postMessage>postMessage</a>(in any message, in optional sequence<<a href=#transferable>Transferable</a>> transfer);<!--
   <span>MessagePort</span> <span title="dom-MessagePort-startConversation">startConversation</span>(in any message);-->
@@ -81482,7 +81472,6 @@
   // event handlers
            attribute <a href=#function>Function</a>? <a href=#handler-messageport-onmessage title=handler-MessagePort-onmessage>onmessage</a>;
 };
-<a href=#messageport>MessagePort</a> implements <a href=#eventtarget>EventTarget</a>;
 <a href=#messageport>MessagePort</a> implements <a href=#transferable>Transferable</a>;</pre>
 
   <dl class=domintro><!-- v2-onclose

Modified: index
===================================================================
--- index	2011-08-05 23:34:52 UTC (rev 6377)
+++ index	2011-08-05 23:43:48 UTC (rev 6378)
@@ -31046,7 +31046,7 @@
 
   </div>
 
-  <hr><pre class=idl>interface <dfn id=texttrack>TextTrack</dfn> {
+  <hr><pre class=idl>interface <dfn id=texttrack>TextTrack</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-texttrack-kind title=dom-TextTrack-kind>kind</a>;
   readonly attribute DOMString <a href=#dom-texttrack-label title=dom-TextTrack-label>label</a>;
   readonly attribute DOMString <a href=#dom-texttrack-language title=dom-TextTrack-language>language</a>;
@@ -31069,7 +31069,6 @@
 
            attribute <a href=#function>Function</a>? <a href=#handler-texttrack-oncuechange title=handler-TextTrack-oncuechange>oncuechange</a>;
 };
-<a href=#texttrack>TextTrack</a> implements <a href=#eventtarget>EventTarget</a>;
 
 typedef <a href=#texttrack>TextTrack</a>[] <dfn id=texttracklist>TextTrackList</dfn>;</pre>
 
@@ -31475,7 +31474,7 @@
 <!--TTVTT-->
 [<a href=#dom-texttrackcue title=dom-TextTrackCue>Constructor</a>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
 <!--TTVTT-->
-interface <dfn id=texttrackcue>TextTrackCue</dfn> {
+interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute <a href=#texttrack>TextTrack</a>? <a href=#dom-texttrackcue-track title=dom-TextTrackCue-track>track</a>;
   readonly attribute DOMString <a href=#dom-texttrackcue-id title=dom-TextTrackCue-id>id</a>;
 
@@ -31497,8 +31496,7 @@
 
            attribute <a href=#function>Function</a>? <a href=#handler-texttrackcue-onenter title=handler-TextTrackCue-onenter>onenter</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-texttrackcue-onexit title=handler-TextTrackCue-onexit>onexit</a>;
-};
-<a href=#texttrackcue>TextTrackCue</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <dl class=domintro><!--TTVTT--><dt><var title="">cue</var> = new <code title=dom-TextTrackCue><a href=#dom-texttrackcue>TextTrackCue</a></code>( <var title="">id</var>, <var title="">startTime</var>, <var title="">endTime</var>, <var title="">text</var> [, <var title="">settings</var> [, <var title="">pauseOnExit</var> ] ] )</dt>
    <dd>
@@ -61598,7 +61596,7 @@
   <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>Window</a></code> object</h3>
 
   <pre class=idl>[ReplaceableNamedProperties] <!-- XXX http://www.w3.org/Bugs/Public/show_bug.cgi?id=8241 -->
-interface <dfn id=window>Window</dfn> {
+interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
   // the current browsing context
   readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-window title=dom-window>window</a>;
   readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-self title=dom-self>self</a>;
@@ -61719,8 +61717,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;
-};
-<a href=#window>Window</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -67084,7 +67081,7 @@
 
   <h4 id=application-cache-api><span class=secno>6.6.9 </span>Application cache API</h4>
 
-  <pre class=idl>interface <dfn id=applicationcache>ApplicationCache</dfn> {
+  <pre class=idl>interface <dfn id=applicationcache>ApplicationCache</dfn> : <a href=#eventtarget>EventTarget</a> {
 
   // <a href=#concept-appcache-status title=concept-appcache-status>update status</a>
   const unsigned short <a href=#dom-appcache-uncached title=dom-appcache-UNCACHED>UNCACHED</a> = 0;
@@ -67109,8 +67106,7 @@
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-onupdateready title=handler-appcache-onupdateready>onupdateready</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-oncached title=handler-appcache-oncached>oncached</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-appcache-onobsolete title=handler-appcache-onobsolete>onobsolete</a>;
-};
-<a href=#applicationcache>ApplicationCache</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
+};</pre>
 
   <dl class=domintro><dt><var title="">cache</var> = <var title="">window</var> . <code title=dom-applicationCache><a href=#dom-applicationcache>applicationCache</a></code></dt>
    <dd>
@@ -75490,7 +75486,7 @@
   object would then be readable using the File API -->
 
   <pre class=idl>[<a href=#dom-mediastream title=dom-MediaStream>Constructor</a>(in <a href=#mediastream>MediaStream</a> parentStream)]
-interface <dfn id=mediastream>MediaStream</dfn> {
+interface <dfn id=mediastream>MediaStream</dfn> : <a href=#eventtarget>EventTarget</a> {
   readonly attribute DOMString <a href=#dom-mediastream-label title=dom-MediaStream-label>label</a>;
   readonly attribute <a href=#mediastreamtracklist>MediaStreamTrackList</a> <a href=#dom-mediastream-tracks title=dom-MediaStream-tracks>tracks</a>;
 
@@ -75502,7 +75498,6 @@
   readonly attribute unsigned short <a href=#dom-mediastream-readystate title=dom-MediaStream-readyState>readyState</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-mediastream-onended title=handler-MediaStream-onended>onended</a>;
 };
-<a href=#mediastream>MediaStream</a> implements <a href=#eventtarget>EventTarget</a>;
 
 interface <dfn id=localmediastream>LocalMediaStream</dfn> : <a href=#mediastream>MediaStream</a> {
   void <a href=#dom-mediastream-stop title=dom-MediaStream-stop>stop</a>();
@@ -76109,7 +76104,7 @@
   <h4 id=interface-definitions-0><span class=secno>9.4.2 </span>Interface definitions</h4>
 
   <pre class=idl>[<a href=#dom-peerconnection title=dom-PeerConnection>Constructor</a>(in DOMString configuration, in <a href=#signalingcallback>SignalingCallback</a> signalingCallback)]
-interface <dfn id=peerconnection>PeerConnection</dfn> {
+interface <dfn id=peerconnection>PeerConnection</dfn> : <a href=#eventtarget>EventTarget</a> {
   void <a href=#dom-peerconnection-processsignalingmessage title=dom-PeerConnection-processSignalingMessage>processSignalingMessage</a>(in DOMString message);
 
   const unsigned short <a href=#dom-peerconnection-new title=dom-PeerConnection-NEW>NEW</a> = 0;
@@ -76135,7 +76130,6 @@
            attribute <a href=#function>Function</a>? <a href=#handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream>onaddstream</a>;
            attribute <a href=#function>Function</a>? <a href=#handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream>onremovestream</a>;
 };
-<a href=#peerconnection>PeerConnection</a> implements <a href=#eventtarget>EventTarget</a>;
 
 [Callback=FunctionOnly, NoInterfaceObject]
 interface <dfn id=signalingcallback>SignalingCallback</dfn> {
@@ -77726,7 +77720,7 @@
   <p>Each channel has two message ports. Data sent through one port is
   received by the other port, and vice versa.</p>
 
-  <pre class=idl>interface <dfn id=messageport>MessagePort</dfn> {
+  <pre class=idl>interface <dfn id=messageport>MessagePort</dfn> : <a href=#eventtarget>EventTarget</a> {
 <!-- v2-onclose  readonly attribute boolean <span title="dom-MessagePort-active">active</span>;
 -->  void <a href=#dom-messageport-postmessage title=dom-MessagePort-postMessage>postMessage</a>(in any message, in optional sequence<<a href=#transferable>Transferable</a>> transfer);<!--
   <span>MessagePort</span> <span title="dom-MessagePort-startConversation">startConversation</span>(in any message);-->
@@ -77736,7 +77730,6 @@
   // event handlers
            attribute <a href=#function>Function</a>? <a href=#handler-messageport-onmessage title=handler-MessagePort-onmessage>onmessage</a>;
 };
-<a href=#messageport>MessagePort</a> implements <a href=#eventtarget>EventTarget</a>;
 <a href=#messageport>MessagePort</a> implements <a href=#transferable>Transferable</a>;</pre>
 
   <dl class=domintro><!-- v2-onclose

Modified: source
===================================================================
--- source	2011-08-05 23:34:52 UTC (rev 6377)
+++ source	2011-08-05 23:43:48 UTC (rev 6378)
@@ -33983,7 +33983,7 @@
 
   <hr>
 
-  <pre class="idl">interface <dfn>TextTrack</dfn> {
+  <pre class="idl">interface <dfn>TextTrack</dfn> : <span>EventTarget</span> {
   readonly attribute DOMString <span title="dom-TextTrack-kind">kind</span>;
   readonly attribute DOMString <span title="dom-TextTrack-label">label</span>;
   readonly attribute DOMString <span title="dom-TextTrack-language">language</span>;
@@ -34006,7 +34006,6 @@
 
            attribute <span>Function</span>? <span title="handler-TextTrack-oncuechange">oncuechange</span>;
 };
-<span>TextTrack</span> implements <span>EventTarget</span>;
 
 typedef <span>TextTrack</span>[] <dfn>TextTrackList</dfn>;</pre>
 
@@ -34472,7 +34471,7 @@
 <!--END w3c-html--><!--TTVTT-->
 [<span title="dom-TextTrackCue">Constructor</span>(in DOMString id, in double startTime, in double endTime, in DOMString text, in optional DOMString settings, in optional boolean pauseOnExit)]
 <!--START w3c-html--><!--TTVTT-->
-interface <dfn>TextTrackCue</dfn> {
+interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
   readonly attribute <span>TextTrack</span>? <span title="dom-TextTrackCue-track">track</span>;
   readonly attribute DOMString <span title="dom-TextTrackCue-id">id</span>;
 
@@ -34494,8 +34493,7 @@
 
            attribute <span>Function</span>? <span title="handler-TextTrackCue-onenter">onenter</span>;
            attribute <span>Function</span>? <span title="handler-TextTrackCue-onexit">onexit</span>;
-};
-<span>TextTrackCue</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
   <dl class="domintro">
 
@@ -70114,7 +70112,7 @@
   <h3>The <code>Window</code> object</h3>
 
   <pre class="idl">[ReplaceableNamedProperties] <!-- XXX http://www.w3.org/Bugs/Public/show_bug.cgi?id=8241 -->
-interface <dfn>Window</dfn> {
+interface <dfn>Window</dfn> : <span>EventTarget</span> {
   // the current browsing context
   readonly attribute <span>WindowProxy</span> <span title="dom-window">window</span>;
   readonly attribute <span>WindowProxy</span> <span title="dom-self">self</span>;
@@ -70235,8 +70233,7 @@
            attribute <span>Function</span>? <span title="handler-window-onunload">onunload</span>;
            attribute <span>Function</span>? <span title="handler-onvolumechange">onvolumechange</span>;
            attribute <span>Function</span>? <span title="handler-onwaiting">onwaiting</span>;
-};
-<span>Window</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
 <!-- for more features to add here, look here:
  http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
@@ -76422,7 +76419,7 @@
 
   <h4>Application cache API</h4>
 
-  <pre class="idl">interface <dfn>ApplicationCache</dfn> {
+  <pre class="idl">interface <dfn>ApplicationCache</dfn> : <span>EventTarget</span> {
 
   // <span title="concept-appcache-status">update status</span>
   const unsigned short <span title="dom-appcache-UNCACHED">UNCACHED</span> = 0;
@@ -76447,8 +76444,7 @@
            attribute <span>Function</span>? <span title="handler-appcache-onupdateready">onupdateready</span>;
            attribute <span>Function</span>? <span title="handler-appcache-oncached">oncached</span>;
            attribute <span>Function</span>? <span title="handler-appcache-onobsolete">onobsolete</span>;
-};
-<span>ApplicationCache</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
   <dl class="domintro">
 
@@ -86151,7 +86147,7 @@
   object would then be readable using the File API -->
 
   <pre class="idl">[<span title="dom-MediaStream">Constructor</span>(in <span>MediaStream</span> parentStream)]
-interface <dfn>MediaStream</dfn> {
+interface <dfn>MediaStream</dfn> : <span>EventTarget</span> {
   readonly attribute DOMString <span title="dom-MediaStream-label">label</span>;
   readonly attribute <span>MediaStreamTrackList</span> <span title="dom-MediaStream-tracks">tracks</span>;
 
@@ -86163,7 +86159,6 @@
   readonly attribute unsigned short <span title="dom-MediaStream-readyState">readyState</span>;
            attribute <span>Function</span>? <span title="handler-MediaStream-onended">onended</span>;
 };
-<span>MediaStream</span> implements <span>EventTarget</span>;
 
 interface <dfn>LocalMediaStream</dfn> : <span>MediaStream</span> {
   void <span title="dom-MediaStream-stop">stop</span>();
@@ -86856,7 +86851,7 @@
   <h4>Interface definitions</h4>
 
   <pre class="idl">[<span title="dom-PeerConnection">Constructor</span>(in DOMString configuration, in <span>SignalingCallback</span> signalingCallback)]
-interface <dfn>PeerConnection</dfn> {
+interface <dfn>PeerConnection</dfn> : <span>EventTarget</span> {
   void <span title="dom-PeerConnection-processSignalingMessage">processSignalingMessage</span>(in DOMString message);
 
   const unsigned short <span title="dom-PeerConnection-NEW">NEW</span> = 0;
@@ -86882,7 +86877,6 @@
            attribute <span>Function</span>? <span title="handler-PeerConnection-onaddstream">onaddstream</span>;
            attribute <span>Function</span>? <span title="handler-PeerConnection-onremovestream">onremovestream</span>;
 };
-<span>PeerConnection</span> implements <span>EventTarget</span>;
 
 [Callback=FunctionOnly, NoInterfaceObject]
 interface <dfn>SignalingCallback</dfn> {
@@ -88564,7 +88558,7 @@
 
   <h5>The <code>WorkerGlobalScope</code> abstract interface</h5>
 
-  <pre class="idl">interface <dfn>WorkerGlobalScope</dfn> {
+  <pre class="idl">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>;
 
@@ -88574,8 +88568,7 @@
            attribute <span>Function</span>? <span title="handler-WorkerGlobalScope-onoffline">onoffline</span>;
            attribute <span>Function</span>? <span title="handler-WorkerGlobalScope-ononline">ononline</span>;
 };
-<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;
-<span>WorkerGlobalScope</span> implements <span>EventTarget</span>;</pre>
+<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;</pre>
 
   <p>The <dfn
   title="dom-WorkerGlobalScope-self"><code>self</code></dfn> attribute
@@ -89263,11 +89256,10 @@
   <h5>The <code>AbstractWorker</code> abstract interface</h5>
 
   <pre class="idl">[Supplemental, NoInterfaceObject]
-interface <dfn>AbstractWorker</dfn> {
+interface <dfn>AbstractWorker</dfn> : <span>EventTarget</span> {
            attribute <span>Function</span>? <span title="handler-AbstractWorker-onerror">onerror</span>;
 <!-- v2-onclose           attribute <span>Function</span>? <span title="handler-AbstractWorker-onclose">onclose</span>; -->
-};
-<span>AbstractWorker</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
   <p>The following are the <span>event handlers</span> (and their
   corresponding <span title="event handler event type">event handler
@@ -90162,7 +90154,7 @@
   <h4>The <code>EventSource</code> interface</h4>
 
   <pre class="idl">[<span title="dom-EventSource">Constructor</span>(in DOMString url)]
-interface <dfn>EventSource</dfn> {
+interface <dfn>EventSource</dfn> : <span>EventTarget</span> {
   readonly attribute DOMString <span title="dom-EventSource-url">url</span>;
 
   // ready state
@@ -90176,8 +90168,7 @@
            attribute <span>Function</span>? <span title="handler-EventSource-onmessage">onmessage</span>;
            attribute <span>Function</span>? <span title="handler-EventSource-onerror">onerror</span>;
   void <span title="dom-EventSource-close">close</span>();
-};
-<span>EventSource</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
   <p>The <dfn title="dom-EventSource"><code>EventSource(<var
   title="">url</var>)</code></dfn> constructor takes one argument,
@@ -91074,7 +91065,7 @@
 
   <pre class="idl">[<span title="dom-WebSocket">Constructor</span>(in DOMString url, in optional DOMString protocols),
  <span title="dom-WebSocket">Constructor</span>(in DOMString url, in optional DOMString[] protocols)]
-interface <dfn>WebSocket</dfn> {
+interface <dfn>WebSocket</dfn> : <span>EventTarget</span> {
   readonly attribute DOMString <span title="dom-WebSocket-url">url</span>;
 
   // ready state
@@ -91099,8 +91090,7 @@
   void <span title="dom-WebSocket-send">send</span>(in DOMString data);
   void <span title="dom-WebSocket-send">send</span>(in <span>ArrayBuffer</span> data);
   void <span title="dom-WebSocket-send">send</span>(in <span>Blob</span> data);
-};
-<span>WebSocket</span> implements <span>EventTarget</span>;</pre>
+};</pre>
 
   <p>The <dfn title="dom-WebSocket"><code>WebSocket(<var
   title="">url</var>, <var title="">protocols</var>)</code></dfn>
@@ -92308,7 +92298,7 @@
   <p>Each channel has two message ports. Data sent through one port is
   received by the other port, and vice versa.</p>
 
-  <pre class="idl">interface <dfn>MessagePort</dfn> {
+  <pre class="idl">interface <dfn>MessagePort</dfn> : <span>EventTarget</span> {
 <!-- v2-onclose  readonly attribute boolean <span title="dom-MessagePort-active">active</span>;
 -->  void <span title="dom-MessagePort-postMessage">postMessage</span>(in any message, in optional sequence<<span>Transferable</span>> transfer);<!--
   <span>MessagePort</span> <span title="dom-MessagePort-startConversation">startConversation</span>(in any message);-->
@@ -92318,7 +92308,6 @@
   // event handlers
            attribute <span>Function</span>? <span title="handler-MessagePort-onmessage">onmessage</span>;
 };
-<span>MessagePort</span> implements <span>EventTarget</span>;
 <span>MessagePort</span> implements <span>Transferable</span>;</pre>
 
   <dl class="domintro">




More information about the Commit-Watchers mailing list