[html5] r5910 - [giow] (0) Anything that can get events should implement EventTarget. Event hand [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Feb 18 15:58:17 PST 2011
Author: ianh
Date: 2011-02-18 15:58:15 -0800 (Fri, 18 Feb 2011)
New Revision: 5910
Modified:
complete.html
index
source
Log:
[giow] (0) Anything that can get events should implement EventTarget. Event handler attributes shouldn't be readonly. Plus some minor editorial tweaks.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11907
Modified: complete.html
===================================================================
--- complete.html 2011-02-18 23:22:10 UTC (rev 5909)
+++ complete.html 2011-02-18 23:58:15 UTC (rev 5910)
@@ -28825,8 +28825,8 @@
const unsigned short <a href=#dom-texttrack-loaded title=dom-TextTrack-LOADED>LOADED</a> = 2;
const unsigned short <a href=#dom-texttrack-error title=dom-TextTrack-ERROR>ERROR</a> = 3;
readonly attribute unsigned short <a href=#dom-texttrack-readystate title=dom-TextTrack-readyState>readyState</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-onload title=handler-TextTrack-onload>onload</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-onerror title=handler-TextTrack-onerror>onerror</a>;
+ attribute <a href=#function>Function</a> <a href=#handler-texttrack-onload title=handler-TextTrack-onload>onload</a>;
+ attribute <a href=#function>Function</a> <a href=#handler-texttrack-onerror title=handler-TextTrack-onerror>onerror</a>;
const unsigned short <a href=#dom-texttrack-off title=dom-TextTrack-OFF>OFF</a> = 0;
const unsigned short <a href=#dom-texttrack-hidden title=dom-TextTrack-HIDDEN>HIDDEN</a> = 1;
@@ -28836,8 +28836,9 @@
readonly attribute <a href=#texttrackcuelist>TextTrackCueList</a> <a href=#dom-texttrack-cues title=dom-TextTrack-cues>cues</a>;
readonly attribute <a href=#texttrackcuelist>TextTrackCueList</a> <a href=#dom-texttrack-activecues title=dom-TextTrack-activeCues>activeCues</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-oncuechange title=handler-TextTrack-oncuechange>oncuechange</a>;
-};</pre>
+ 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>;</pre>
<dl class=domintro><dt><var title="">timedTrack</var> . <code title=dom-TextTrack-kind><a href=#dom-texttrack-kind>kind</a></code></dt>
<dd>
@@ -29267,9 +29268,10 @@
DOMString <a href=#dom-texttrackcue-getcueassource title=dom-TextTrackCue-getCueAsSource>getCueAsSource</a>();
<a href=#documentfragment>DocumentFragment</a> <a href=#dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML>getCueAsHTML</a>();
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrackcue-onenter title=handler-TextTrackCue-onenter>onenter</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrackcue-onexit title=handler-TextTrackCue-onexit>onexit</a>;
-};</pre>
+ 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>
<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>
@@ -50833,28 +50835,29 @@
<pre class=idl>[Constructor(in DOMString serverConfiguration)]
interface <dfn id=connectionpeer>ConnectionPeer</dfn> {
void sendText(in DOMString text, in optional boolean unimportant); // if second arg is true, then use unreliable low-latency transport (UDP-like), otherwise guarantee delivery (TCP-like)
- attribute <a href=#function>Function</a> ontext; // receiving
+ attribute <a href=#function>Function</a> ontext; // receiving
void sendBitmap(in HTMLImageElement image);
- attribute <a href=#function>Function</a> onbitmap; // receiving
+ attribute <a href=#function>Function</a> onbitmap; // receiving
void sendFile(in File file);
- attribute <a href=#function>Function</a> onfile; // receiving
+ attribute <a href=#function>Function</a> onfile; // receiving
void addStream(in Stream stream);
void removeStream(in Stream stream);
readonly attribute Stream[] localStreams;
readonly attribute Stream[] remoteStreams;
- attribute <a href=#function>Function</a> onstream; // receiving
+ attribute <a href=#function>Function</a> onstream; // receiving
void <span title=dom-ConnectionPeer-getLocalConfiguration>getLocalConfiguration</span>(in <a href=#connectionpeerconfigurationcallback>ConnectionPeerConfigurationCallback</a> callback); // maybe this should be in the constructor, or be an event
void <span title=dom-ConnectionPeer-addRemoteConfiguration>addRemoteConfiguration</span>(in DOMString configuration, in optional DOMString remoteOrigin); // remote origin is assumed to be same-origin if not specified. If specified, has to match remote origin (checked in handshake). Should support leading "*." to mean "any subdomain of".
void close(); // disconnects and stops listening
- attribute <a href=#function>Function</a> onconnect;
- attribute <a href=#function>Function</a> onerror;
- attribute <a href=#function>Function</a> ondisconnect;
+ attribute <a href=#function>Function</a> onconnect;
+ attribute <a href=#function>Function</a> onerror;
+ attribute <a href=#function>Function</a> ondisconnect;
};
+<a href=#connectionpeer>ConnectionPeer</a> implements <a href=#eventtarget>EventTarget</a>;
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn id=connectionpeerconfigurationcallback>ConnectionPeerConfigurationCallback</dfn> {
Modified: index
===================================================================
--- index 2011-02-18 23:22:10 UTC (rev 5909)
+++ index 2011-02-18 23:58:15 UTC (rev 5910)
@@ -28808,8 +28808,8 @@
const unsigned short <a href=#dom-texttrack-loaded title=dom-TextTrack-LOADED>LOADED</a> = 2;
const unsigned short <a href=#dom-texttrack-error title=dom-TextTrack-ERROR>ERROR</a> = 3;
readonly attribute unsigned short <a href=#dom-texttrack-readystate title=dom-TextTrack-readyState>readyState</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-onload title=handler-TextTrack-onload>onload</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-onerror title=handler-TextTrack-onerror>onerror</a>;
+ attribute <a href=#function>Function</a> <a href=#handler-texttrack-onload title=handler-TextTrack-onload>onload</a>;
+ attribute <a href=#function>Function</a> <a href=#handler-texttrack-onerror title=handler-TextTrack-onerror>onerror</a>;
const unsigned short <a href=#dom-texttrack-off title=dom-TextTrack-OFF>OFF</a> = 0;
const unsigned short <a href=#dom-texttrack-hidden title=dom-TextTrack-HIDDEN>HIDDEN</a> = 1;
@@ -28819,8 +28819,9 @@
readonly attribute <a href=#texttrackcuelist>TextTrackCueList</a> <a href=#dom-texttrack-cues title=dom-TextTrack-cues>cues</a>;
readonly attribute <a href=#texttrackcuelist>TextTrackCueList</a> <a href=#dom-texttrack-activecues title=dom-TextTrack-activeCues>activeCues</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrack-oncuechange title=handler-TextTrack-oncuechange>oncuechange</a>;
-};</pre>
+ 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>;</pre>
<dl class=domintro><dt><var title="">timedTrack</var> . <code title=dom-TextTrack-kind><a href=#dom-texttrack-kind>kind</a></code></dt>
<dd>
@@ -29250,9 +29251,10 @@
DOMString <a href=#dom-texttrackcue-getcueassource title=dom-TextTrackCue-getCueAsSource>getCueAsSource</a>();
<a href=#documentfragment>DocumentFragment</a> <a href=#dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML>getCueAsHTML</a>();
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrackcue-onenter title=handler-TextTrackCue-onenter>onenter</a>;
- readonly attribute <a href=#function>Function</a> <a href=#handler-texttrackcue-onexit title=handler-TextTrackCue-onexit>onexit</a>;
-};</pre>
+ 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>
<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>
@@ -50816,28 +50818,29 @@
<pre class=idl>[Constructor(in DOMString serverConfiguration)]
interface <dfn id=connectionpeer>ConnectionPeer</dfn> {
void sendText(in DOMString text, in optional boolean unimportant); // if second arg is true, then use unreliable low-latency transport (UDP-like), otherwise guarantee delivery (TCP-like)
- attribute <a href=#function>Function</a> ontext; // receiving
+ attribute <a href=#function>Function</a> ontext; // receiving
void sendBitmap(in HTMLImageElement image);
- attribute <a href=#function>Function</a> onbitmap; // receiving
+ attribute <a href=#function>Function</a> onbitmap; // receiving
void sendFile(in File file);
- attribute <a href=#function>Function</a> onfile; // receiving
+ attribute <a href=#function>Function</a> onfile; // receiving
void addStream(in Stream stream);
void removeStream(in Stream stream);
readonly attribute Stream[] localStreams;
readonly attribute Stream[] remoteStreams;
- attribute <a href=#function>Function</a> onstream; // receiving
+ attribute <a href=#function>Function</a> onstream; // receiving
void <span title=dom-ConnectionPeer-getLocalConfiguration>getLocalConfiguration</span>(in <a href=#connectionpeerconfigurationcallback>ConnectionPeerConfigurationCallback</a> callback); // maybe this should be in the constructor, or be an event
void <span title=dom-ConnectionPeer-addRemoteConfiguration>addRemoteConfiguration</span>(in DOMString configuration, in optional DOMString remoteOrigin); // remote origin is assumed to be same-origin if not specified. If specified, has to match remote origin (checked in handshake). Should support leading "*." to mean "any subdomain of".
void close(); // disconnects and stops listening
- attribute <a href=#function>Function</a> onconnect;
- attribute <a href=#function>Function</a> onerror;
- attribute <a href=#function>Function</a> ondisconnect;
+ attribute <a href=#function>Function</a> onconnect;
+ attribute <a href=#function>Function</a> onerror;
+ attribute <a href=#function>Function</a> ondisconnect;
};
+<a href=#connectionpeer>ConnectionPeer</a> implements <a href=#eventtarget>EventTarget</a>;
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn id=connectionpeerconfigurationcallback>ConnectionPeerConfigurationCallback</dfn> {
Modified: source
===================================================================
--- source 2011-02-18 23:22:10 UTC (rev 5909)
+++ source 2011-02-18 23:58:15 UTC (rev 5910)
@@ -31329,8 +31329,8 @@
const unsigned short <span title="dom-TextTrack-LOADED">LOADED</span> = 2;
const unsigned short <span title="dom-TextTrack-ERROR">ERROR</span> = 3;
readonly attribute unsigned short <span title="dom-TextTrack-readyState">readyState</span>;
- readonly attribute <span>Function</span> <span title="handler-TextTrack-onload">onload</span>;
- readonly attribute <span>Function</span> <span title="handler-TextTrack-onerror">onerror</span>;
+ attribute <span>Function</span> <span title="handler-TextTrack-onload">onload</span>;
+ attribute <span>Function</span> <span title="handler-TextTrack-onerror">onerror</span>;
const unsigned short <span title="dom-TextTrack-OFF">OFF</span> = 0;
const unsigned short <span title="dom-TextTrack-HIDDEN">HIDDEN</span> = 1;
@@ -31340,8 +31340,9 @@
readonly attribute <span>TextTrackCueList</span> <span title="dom-TextTrack-cues">cues</span>;
readonly attribute <span>TextTrackCueList</span> <span title="dom-TextTrack-activeCues">activeCues</span>;
- readonly attribute <span>Function</span> <span title="handler-TextTrack-oncuechange">oncuechange</span>;
-};</pre>
+ attribute <span>Function</span> <span title="handler-TextTrack-oncuechange">oncuechange</span>;
+};
+<span>TextTrack</span> implements <span>EventTarget</span>;</pre>
<dl class="domintro">
@@ -31831,9 +31832,10 @@
DOMString <span title="dom-TextTrackCue-getCueAsSource">getCueAsSource</span>();
<span>DocumentFragment</span> <span title="dom-TextTrackCue-getCueAsHTML">getCueAsHTML</span>();
- readonly attribute <span>Function</span> <span title="handler-TextTrackCue-onenter">onenter</span>;
- readonly attribute <span>Function</span> <span title="handler-TextTrackCue-onexit">onexit</span>;
-};</pre>
+ 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>
<dl class="domintro">
@@ -57236,28 +57238,29 @@
<pre class="idl">[Constructor(in DOMString serverConfiguration)]
interface <dfn>ConnectionPeer</dfn> {
void sendText(in DOMString text, in optional boolean unimportant); // if second arg is true, then use unreliable low-latency transport (UDP-like), otherwise guarantee delivery (TCP-like)
- attribute <span>Function</span> ontext; // receiving
+ attribute <span>Function</span> ontext; // receiving
void sendBitmap(in HTMLImageElement image);
- attribute <span>Function</span> onbitmap; // receiving
+ attribute <span>Function</span> onbitmap; // receiving
void sendFile(in File file);
- attribute <span>Function</span> onfile; // receiving
+ attribute <span>Function</span> onfile; // receiving
void addStream(in Stream stream);
void removeStream(in Stream stream);
readonly attribute Stream[] localStreams;
readonly attribute Stream[] remoteStreams;
- attribute <span>Function</span> onstream; // receiving
+ attribute <span>Function</span> onstream; // receiving
void <span title="dom-ConnectionPeer-getLocalConfiguration">getLocalConfiguration</span>(in <span>ConnectionPeerConfigurationCallback</span> callback); // maybe this should be in the constructor, or be an event
void <span title="dom-ConnectionPeer-addRemoteConfiguration">addRemoteConfiguration</span>(in DOMString configuration, in optional DOMString remoteOrigin); // remote origin is assumed to be same-origin if not specified. If specified, has to match remote origin (checked in handshake). Should support leading "*." to mean "any subdomain of".
void close(); // disconnects and stops listening
- attribute <span>Function</span> onconnect;
- attribute <span>Function</span> onerror;
- attribute <span>Function</span> ondisconnect;
+ attribute <span>Function</span> onconnect;
+ attribute <span>Function</span> onerror;
+ attribute <span>Function</span> ondisconnect;
};
+<span>ConnectionPeer</span> implements <span>EventTarget</span>;
[Callback=FunctionOnly, NoInterfaceObject]
interface <dfn>ConnectionPeerConfigurationCallback</dfn> {
More information about the Commit-Watchers
mailing list