Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Move 'implements' requirements to IDL.
git-svn-id: http://svn.whatwg.org/webapps@3910 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 19, 2009
1 parent 949c6db commit 61c2226
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 67 deletions.
28 changes: 10 additions & 18 deletions index
Expand Up @@ -48299,7 +48299,9 @@ interface <dfn id=window>Window</dfn> {
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>;
};</pre>
};
<a href=#window>Window</a> implements <span>EventTarget</span>;
</pre>

<!-- for more features to add here, look here:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
Expand All @@ -48320,9 +48322,6 @@ interface <dfn id=window>Window</dfn> {

</dl><div class=impl>

<p>The <code><a href=#window>Window</a></code> object must also implement the
<code>EventTarget</code> interface.</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>
Expand Down Expand Up @@ -51115,12 +51114,9 @@ interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {

<div class=impl>

<p>Objects implementing the <code><a href=#navigator>Navigator</a></code> interface must
also implement the <a href=#navigatorid>NavigatorID</a>,
<a href=#navigatoronline>NavigatorOnLine</a>, and
<a href=#navigatorabilities>NavigatorAbilities</a> interfaces. (These interfaces are
defined separately so that other specifications can re-use parts of
the <code><a href=#navigator>Navigator</a></code> interface.)</p>
<p>These interfaces are defined separately so that other
specifications can re-use parts of the <code><a href=#navigator>Navigator</a></code>
interface.</p>

<!-- v2: also, see window.external.AddSearchProvider() and similar DOM APIs from IE -->

Expand Down Expand Up @@ -53169,7 +53165,8 @@ style/default.css</pre>
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>;
};</pre>
};
<a href=#applicationcache>ApplicationCache</a> implements <span>EventTarget</span>;</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>
Expand Down Expand Up @@ -53210,9 +53207,6 @@ style/default.css</pre>

</dl><div class=impl>

<p>Objects implementing the <code><a href=#applicationcache>ApplicationCache</a></code> interface
must also implement the <code>EventTarget</code> interface.</p>

<p>There is a one-to-one mapping from <a href=#cache-host title="cache host">cache
hosts</a> to <code><a href=#applicationcache>ApplicationCache</a></code> objects. The <dfn id=dom-applicationcache title=dom-applicationCache><code>applicationCache</code></dfn>
attribute on <code><a href=#window>Window</a></code> objects must return the
Expand Down Expand Up @@ -60591,7 +60585,8 @@ interface <dfn id=messageport>MessagePort</dfn> {

// event handler attributes
attribute <a href=#function>Function</a> <a href=#handler-messageport-onmessage title=handler-MessagePort-onmessage>onmessage</a>;
};</pre>
};
<a href=#messageport>MessagePort</a> implements <span>EventTarget</span>;</pre>

<dl class=domintro><!-- v2-onclose
<dt><var title="">port</var> . <code title="dom-MessagePort-active">active</code></dt>
Expand Down Expand Up @@ -60631,9 +60626,6 @@ interface <dfn id=messageport>MessagePort</dfn> {

</dl><div class=impl>

<p>Objects implementing the <code><a href=#messageport>MessagePort</a></code> interface must
also implement the <code>EventTarget</code> interface.</p>

<p>Each <code><a href=#messageport>MessagePort</a></code> object can be entangled with
another (a symmetric relationship). Each <code><a href=#messageport>MessagePort</a></code>
object also has a <a href=#task-source>task source</a> called the <dfn id=port-message-queue>port
Expand Down
68 changes: 19 additions & 49 deletions source
Expand Up @@ -54466,7 +54466,9 @@ interface <dfn>Window</dfn> {
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>;
};</pre>
};
<span>Window</span> implements <span>EventTarget</span>;
</pre>

<!-- for more features to add here, look here:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp
Expand All @@ -54491,9 +54493,6 @@ interface <dfn>Window</dfn> {

<div class="impl">

<p>The <code>Window</code> object must also implement the
<code>EventTarget</code> interface.</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
Expand Down Expand Up @@ -57766,12 +57765,9 @@ interface <dfn>NavigatorAbilities</dfn> {

<div class="impl">

<p>Objects implementing the <code>Navigator</code> interface must
also implement the <span>NavigatorID</span>,
<span>NavigatorOnLine</span>, and
<span>NavigatorAbilities</span> interfaces. (These interfaces are
defined separately so that other specifications can re-use parts of
the <code>Navigator</code> interface.)</p>
<p>These interfaces are defined separately so that other
specifications can re-use parts of the <code>Navigator</code>
interface.</p>

<!-- v2: also, see window.external.AddSearchProvider() and similar DOM APIs from IE -->

Expand Down Expand Up @@ -60120,7 +60116,8 @@ style/default.css</pre>
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>;
};</pre>
};
<span>ApplicationCache</span> implements <span>EventTarget</span>;</pre>

<dl class="domintro">

Expand Down Expand Up @@ -60165,9 +60162,6 @@ style/default.css</pre>

<div class="impl">

<p>Objects implementing the <code>ApplicationCache</code> interface
must also implement the <code>EventTarget</code> interface.</p>

<p>There is a one-to-one mapping from <span title="cache host">cache
hosts</span> to <code>ApplicationCache</code> objects. The <dfn
title="dom-applicationCache"><code>applicationCache</code></dfn>
Expand Down Expand Up @@ -70333,10 +70327,8 @@ v2 (well, really v0):
<!-- v2-onclose attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onclose">onclose</span>;
--> attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onerror">onerror</span>;
};
<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;</pre>

<p>Objects implementing the <code>WorkerGlobalScope</code> interface
must also implement the <code>EventTarget</code> interface.</p>
<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;
<span>WorkerGlobalScope</span> implements <span>EventTarget</span>;</pre>

<p>The <dfn
title="dom-WorkerGlobalScope-self"><code>self</code></dfn> attribute
Expand Down Expand Up @@ -71082,10 +71074,8 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
<pre class="idl">interface <dfn>AbstractWorker</dfn> {
attribute <span>Function</span> <span title="handler-AbstractWorker-onerror">onerror</span>;
<!-- v2-onclose attribute <span>Function</span> <span title="handler-AbstractWorker-onclose">onclose</span>; -->
};</pre>

<p>Objects implementing the <code>AbstractWorker</code> interface
must also implement the <code>EventTarget</code> interface.</p>
};
<span>AbstractWorker</span> implements <span>EventTarget</span>;</pre>

<p>The following are the <span>event handler attributes</span> (and their corresponding <span
title="event handler event type">event handler event types</span>)
Expand Down Expand Up @@ -71522,19 +71512,7 @@ interface <dfn>WorkerUtils</dfn> {
void <span title="dom-WorkerGlobalScope-importScripts">importScripts</span>(in DOMString... urls);
readonly attribute <span title="worker-Navigator">Navigator</span> <span title="dom-worker-navigator">navigator</span>;
};
// implemented by <span>WorkerGlobalScope</span></pre>

<p>Objects that implement the <code>WorkerGlobalScope</code>
interface must also implement the <code>WorkerUtils</code>
interface.</p>

<p>Objects that implement the <code>WorkerUtils</code> interface
must also implement the <code>WindowTimers</code> interface. (This
interface provides the <code
title="dom-windowtimers-setTimeout">setTimeout()</code> method and
its friends.)</p>

<hr>
<span>WorkerUtils</span> implement <span>WindowTimers</span>;</pre>

<p>The DOM APIs (<code>Node</code> objects, <code>Document</code>
objects, etc) are not available to workers in this version of this
Expand Down Expand Up @@ -71929,11 +71907,8 @@ interface <dfn>EventSource</dfn> {
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>();
};</pre>

<p><code>EventSource</code> objects must also implement the
<code>EventTarget</code> interface. <a
href="#refsDOMEVENTS">[DOMEVENTS]</a></p>
};
<span>EventSource</span> implements <span>EventTarget</span>;</pre>

<p>The <dfn title="dom-EventSource"><code>EventSource(<var
title="">url</var>)</code></dfn> constructor takes one argument,
Expand Down Expand Up @@ -72689,11 +72664,8 @@ interface <dfn>WebSocket</dfn> {
attribute <span>Function</span> <span title="handler-WebSocket-onclose">onclose</span>;
boolean <span title="dom-WebSocket-send">send</span>(in DOMString data);
void <span title="dom-WebSocket-close">close</span>();
};</pre>

<p><code>WebSocket</code> objects must also implement the
<code>EventTarget</code> interface. <a
href="#refsDOMEVENTS">[DOMEVENTS]</a>
};
<span>WebSocket</span> implements <span>EventTarget</span>;</pre>

<p>The <dfn title="dom-WebSocket"><code>WebSocket(<var
title="">url</var>, <var title="">protocol</var>)</code></dfn>
Expand Down Expand Up @@ -75019,7 +74991,8 @@ interface <dfn>MessagePort</dfn> {

// event handler attributes
attribute <span>Function</span> <span title="handler-MessagePort-onmessage">onmessage</span>;
};</pre>
};
<span>MessagePort</span> implements <span>EventTarget</span>;</pre>

<dl class="domintro">
<!-- v2-onclose
Expand Down Expand Up @@ -75064,9 +75037,6 @@ interface <dfn>MessagePort</dfn> {

<div class="impl">

<p>Objects implementing the <code>MessagePort</code> interface must
also implement the <code>EventTarget</code> interface.</p>

<p>Each <code>MessagePort</code> object can be entangled with
another (a symmetric relationship). Each <code>MessagePort</code>
object also has a <span>task source</span> called the <dfn>port
Expand Down

0 comments on commit 61c2226

Please sign in to comment.