Skip to content

Commit

Permalink
[e] (0) Move a setTimeout() requirement from prose to IDL.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24967
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8535 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 7, 2014
1 parent c78af48 commit 30181cd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
11 changes: 5 additions & 6 deletions complete.html
Expand Up @@ -73602,11 +73602,11 @@ <h3 id=timers><span class=secno>7.4 </span>Timers</h3>

<pre class=idl>[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=windowtimers>WindowTimers</dfn> {
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout = 0, any... arguments);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(optional long handle = 0);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout = 0, any... arguments);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(optional long handle = 0);
};
<a href=#window>Window</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>
Expand Down Expand Up @@ -73767,8 +73767,7 @@ <h3 id=timers><span class=secno>7.4 </span>Timers</h3>

</ol></li>

<li><p>Let <var title="">timeout</var> be the second method argument, or zero if the argument was
omitted.</li>
<li><p>Let <var title="">timeout</var> be the second method argument.</li>

<li><p>If the currently running <a href=#concept-task title=concept-task>task</a> is a task that was created
by this algorithm, then let <var title="">nesting level</var> be the <a href=#concept-task title=concept-task>task</a>'s <a href=#timer-nesting-level>timer nesting level</a>. Otherwise, let <var title="">nesting level</var> be zero.</li>
Expand Down
11 changes: 5 additions & 6 deletions index
Expand Up @@ -73602,11 +73602,11 @@ interface <dfn id=windowbase64>WindowBase64</dfn> {

<pre class=idl>[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=windowtimers>WindowTimers</dfn> {
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <a href=#dom-windowtimers-settimeout title=dom-windowtimers-setTimeout>setTimeout</a>(DOMString handler, optional long timeout = 0, any... arguments);
void <a href=#dom-windowtimers-cleartimeout title=dom-windowtimers-clearTimeout>clearTimeout</a>(optional long handle = 0);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <a href=#dom-windowtimers-setinterval title=dom-windowtimers-setInterval>setInterval</a>(DOMString handler, optional long timeout = 0, any... arguments);
void <a href=#dom-windowtimers-clearinterval title=dom-windowtimers-clearInterval>clearInterval</a>(optional long handle = 0);
};
<a href=#window>Window</a> implements <a href=#windowtimers>WindowTimers</a>;</pre>
Expand Down Expand Up @@ -73767,8 +73767,7 @@ interface <dfn id=windowtimers>WindowTimers</dfn> {

</ol></li>

<li><p>Let <var title="">timeout</var> be the second method argument, or zero if the argument was
omitted.</li>
<li><p>Let <var title="">timeout</var> be the second method argument.</li>

<li><p>If the currently running <a href=#concept-task title=concept-task>task</a> is a task that was created
by this algorithm, then let <var title="">nesting level</var> be the <a href=#concept-task title=concept-task>task</a>'s <a href=#timer-nesting-level>timer nesting level</a>. Otherwise, let <var title="">nesting level</var> be zero.</li>
Expand Down
11 changes: 5 additions & 6 deletions source
Expand Up @@ -82267,11 +82267,11 @@ interface <dfn>WindowBase64</dfn> {

<pre class="idl">[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn>WindowTimers</dfn> {
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(<span>Function</span> handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(DOMString handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <span data-x="dom-windowtimers-setTimeout">setTimeout</span>(DOMString handler, optional long timeout = 0, any... arguments);
void <span data-x="dom-windowtimers-clearTimeout">clearTimeout</span>(optional long handle = 0);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(<span>Function</span> handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(DOMString handler, optional long timeout, any... arguments);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(<span>Function</span> handler, optional long timeout = 0, any... arguments);
long <span data-x="dom-windowtimers-setInterval">setInterval</span>(DOMString handler, optional long timeout = 0, any... arguments);
void <span data-x="dom-windowtimers-clearInterval">clearInterval</span>(optional long handle = 0);
};
<span>Window</span> implements <span>WindowTimers</span>;</pre>
Expand Down Expand Up @@ -82466,8 +82466,7 @@ interface <dfn>WindowTimers</dfn> {

</li>

<li><p>Let <var data-x="">timeout</var> be the second method argument, or zero if the argument was
omitted.</p></li>
<li><p>Let <var data-x="">timeout</var> be the second method argument.</p></li>

<li><p>If the currently running <span data-x="concept-task">task</span> is a task that was created
by this algorithm, then let <var data-x="">nesting level</var> be the <span
Expand Down

0 comments on commit 30181cd

Please sign in to comment.