Skip to content

Commit

Permalink
[giow] (3) Add some obsolete methods that don't do anything but are n…
Browse files Browse the repository at this point in the history
…eeded for compat.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22847
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8127 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 5, 2013
1 parent 2f9b956 commit 7ad927f
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 8 deletions.
22 changes: 19 additions & 3 deletions complete.html
Expand Up @@ -65332,6 +65332,8 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(DOMString url, optional any argument<!--, optional DOMString features-->);

void <a href=#dom-window-postmessage title=dom-window-postMessage>postMessage</a>(any message, DOMString targetOrigin, optional sequence&lt;<a href=#transferable>Transferable</a>&gt; transfer);

// <a href="#Window-partial">also has obsolete members</a>
};
<a href=#window>Window</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
<a href=#window>Window</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
Expand Down Expand Up @@ -98550,6 +98552,8 @@ <h4 id=other-elements,-attributes-and-apis><span class=secno>15.3.4 </span>Other
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-applets title=dom-document-applets>applets</a>;

void <a href=#dom-document-clear title=dom-document-clear>clear</a>();
void <a href=#dom-document-captureevents title=dom-document-captureEvents>captureEvents</a>(long dummy);
void <a href=#dom-document-releaseevents title=dom-document-releaseEvents>releaseEvents</a>(long dummy);

readonly attribute <a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-document-all title=dom-document-all>all</a>;
};</pre>
Expand Down Expand Up @@ -98587,8 +98591,10 @@ <h4 id=other-elements,-attributes-and-apis><span class=secno>15.3.4 </span>Other
<code><a href=#document>Document</a></code> node, whose filter matches only
<code><a href=#the-applet-element>applet</a></code> elements.</p>

<p>The <dfn id=dom-document-clear title=dom-document-clear><code>clear()</code></dfn>
method must do nothing.</p>
<p>The <dfn id=dom-document-clear title=dom-document-clear><code>clear()</code></dfn>,
<dfn id=dom-document-captureevents title=dom-document-captureEvents><code>captureEvents()</code></dfn>, and
<dfn id=dom-document-releaseevents title=dom-document-releaseEvents><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

<hr><p>The <dfn id=dom-document-all title=dom-document-all><code>all</code></dfn>
attribute must return an <code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted at the
Expand Down Expand Up @@ -98621,6 +98627,16 @@ <h4 id=other-elements,-attributes-and-apis><span class=secno>15.3.4 </span>Other
legacy user agents and uses the <code title=dom-document-all><a href=#dom-document-all>document.all</a></code> object without testing
for its presence first. <a href=#refsECMA262>[ECMA262]</a></p>

<hr><pre class=idl>partial interface <a href=#window id=Window-partial>Window</a> {
void <a href=#dom-window-captureevents title=dom-window-captureEvents>captureEvents</a>(long dummy);
void <a href=#dom-window-releaseevents title=dom-window-releaseEvents>releaseEvents</a>(long dummy);
};</pre>

<p>The
<dfn id=dom-window-captureevents title=dom-window-captureEvents><code>captureEvents()</code></dfn> and
<dfn id=dom-window-releaseevents title=dom-window-releaseEvents><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

</div>


Expand Down Expand Up @@ -102585,7 +102601,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
<li><code><a href=#videotrack>VideoTrack</a></code>
<li><code><a href=#videotracklist>VideoTrackList</a></code>
<li><code><a href=#websocket>WebSocket</a></code>
<li><code><a href=#window>Window</a></code>
<li><code><a href=#window>Window</a></code>, <a href=#Window-partial>partial</a>
<li><code><a href=#windowbase64>WindowBase64</a></code>
<li><code><a href=#windoweventhandlers>WindowEventHandlers</a></code>
<li><code><a href=#windowlocalstorage>WindowLocalStorage</a></code>
Expand Down
22 changes: 19 additions & 3 deletions index
Expand Up @@ -65332,6 +65332,8 @@ END:VCARD</pre>
any <a href=#dom-showmodaldialog title=dom-showModalDialog>showModalDialog</a>(DOMString url, optional any argument<!--, optional DOMString features-->);

void <a href=#dom-window-postmessage title=dom-window-postMessage>postMessage</a>(any message, DOMString targetOrigin, optional sequence&lt;<a href=#transferable>Transferable</a>&gt; transfer);

// <a href="#Window-partial">also has obsolete members</a>
};
<a href=#window>Window</a> implements <a href=#globaleventhandlers>GlobalEventHandlers</a>;
<a href=#window>Window</a> implements <a href=#windoweventhandlers>WindowEventHandlers</a>;</pre>
Expand Down Expand Up @@ -98550,6 +98552,8 @@ if (s = prompt('What is your name?')) {
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-applets title=dom-document-applets>applets</a>;

void <a href=#dom-document-clear title=dom-document-clear>clear</a>();
void <a href=#dom-document-captureevents title=dom-document-captureEvents>captureEvents</a>(long dummy);
void <a href=#dom-document-releaseevents title=dom-document-releaseEvents>releaseEvents</a>(long dummy);

readonly attribute <a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-document-all title=dom-document-all>all</a>;
};</pre>
Expand Down Expand Up @@ -98587,8 +98591,10 @@ if (s = prompt('What is your name?')) {
<code><a href=#document>Document</a></code> node, whose filter matches only
<code><a href=#the-applet-element>applet</a></code> elements.</p>

<p>The <dfn id=dom-document-clear title=dom-document-clear><code>clear()</code></dfn>
method must do nothing.</p>
<p>The <dfn id=dom-document-clear title=dom-document-clear><code>clear()</code></dfn>,
<dfn id=dom-document-captureevents title=dom-document-captureEvents><code>captureEvents()</code></dfn>, and
<dfn id=dom-document-releaseevents title=dom-document-releaseEvents><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

<hr><p>The <dfn id=dom-document-all title=dom-document-all><code>all</code></dfn>
attribute must return an <code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted at the
Expand Down Expand Up @@ -98621,6 +98627,16 @@ if (s = prompt('What is your name?')) {
legacy user agents and uses the <code title=dom-document-all><a href=#dom-document-all>document.all</a></code> object without testing
for its presence first. <a href=#refsECMA262>[ECMA262]</a></p>

<hr><pre class=idl>partial interface <a href=#window id=Window-partial>Window</a> {
void <a href=#dom-window-captureevents title=dom-window-captureEvents>captureEvents</a>(long dummy);
void <a href=#dom-window-releaseevents title=dom-window-releaseEvents>releaseEvents</a>(long dummy);
};</pre>

<p>The
<dfn id=dom-window-captureevents title=dom-window-captureEvents><code>captureEvents()</code></dfn> and
<dfn id=dom-window-releaseevents title=dom-window-releaseEvents><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

</div>


Expand Down Expand Up @@ -102585,7 +102601,7 @@ if (s = prompt('What is your name?')) {
<li><code><a href=#videotrack>VideoTrack</a></code>
<li><code><a href=#videotracklist>VideoTrackList</a></code>
<li><code><a href=#websocket>WebSocket</a></code>
<li><code><a href=#window>Window</a></code>
<li><code><a href=#window>Window</a></code>, <a href=#Window-partial>partial</a>
<li><code><a href=#windowbase64>WindowBase64</a></code>
<li><code><a href=#windoweventhandlers>WindowEventHandlers</a></code>
<li><code><a href=#windowlocalstorage>WindowLocalStorage</a></code>
Expand Down
20 changes: 18 additions & 2 deletions source
Expand Up @@ -110089,6 +110089,8 @@ if (s = prompt('What is your name?')) {
readonly attribute <span>HTMLCollection</span> <span title="dom-document-applets">applets</span>;

void <span title="dom-document-clear">clear</span>();
void <span title="dom-document-captureEvents">captureEvents</span>(long dummy);
void <span title="dom-document-releaseEvents">releaseEvents</span>(long dummy);

readonly attribute <span>HTMLAllCollection</span> <span title="dom-document-all">all</span>;
};</pre>
Expand Down Expand Up @@ -110139,8 +110141,10 @@ if (s = prompt('What is your name?')) {
<code>Document</code> node, whose filter matches only
<code>applet</code> elements.</p>

<p>The <dfn title="dom-document-clear"><code>clear()</code></dfn>
method must do nothing.</p>
<p>The <dfn title="dom-document-clear"><code>clear()</code></dfn>,
<dfn title="dom-document-captureEvents"><code>captureEvents()</code></dfn>, and
<dfn title="dom-document-releaseEvents"><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

<hr>

Expand Down Expand Up @@ -110184,6 +110188,18 @@ if (s = prompt('What is your name?')) {
title="dom-document-all">document.all</code> object without testing
for its presence first. <a href="#refsECMA262">[ECMA262]</a></p>

<hr>

<pre class="idl">partial interface <span id="Window-partial">Window</span> {
void <span title="dom-window-captureEvents">captureEvents</span>(long dummy);
void <span title="dom-window-releaseEvents">releaseEvents</span>(long dummy);
};</pre>

<p>The
<dfn title="dom-window-captureEvents"><code>captureEvents()</code></dfn> and
<dfn title="dom-window-releaseEvents"><code>releaseEvents()</code></dfn>
methods must do nothing.</p>

</div>


Expand Down

0 comments on commit 7ad927f

Please sign in to comment.