- From: poot <cvsmail@w3.org>
- Date: Tue, 09 Aug 2011 20:16:13 -0400
- To: public-html-diffs@w3.org
hixie: Defer to WebIDL more. (whatwg r6399)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5105&r2=1.5106&f=h
http://html5.org/tools/web-apps-tracker?from=6398&to=6399
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5105
retrieving revision 1.5106
diff -u -d -r1.5105 -r1.5106
--- Overview.html 10 Aug 2011 00:02:06 -0000 1.5105
+++ Overview.html 10 Aug 2011 00:16:01 -0000 1.5106
@@ -50056,9 +50056,11 @@
and <code title="dom-windowtimers-setInterval"><a href="#dom-windowtimers-setinterval">setInterval()</a></code>
methods allow authors to schedule timer-based callbacks.<pre class="idl">[NoInterfaceObject]
interface <dfn id="windowtimers">WindowTimers</dfn> {
- long <a href="#dom-windowtimers-settimeout" title="dom-windowtimers-setTimeout">setTimeout</a>(in any handler, in optional any timeout, in any... args);
+ long <a href="#dom-windowtimers-settimeout" title="dom-windowtimers-setTimeout">setTimeout</a>(in Function handler, in optional float timeout, in any... args);
+ long <a href="#dom-windowtimers-settimeout" title="dom-windowtimers-setTimeout">setTimeout</a>([AllowAny] in DOMString handler, in optional float timeout, in any... args);
void <a href="#dom-windowtimers-cleartimeout" title="dom-windowtimers-clearTimeout">clearTimeout</a>(in long handle);
- long <a href="#dom-windowtimers-setinterval" title="dom-windowtimers-setInterval">setInterval</a>(in any handler, in optional any timeout, in any... args);
+ long <a href="#dom-windowtimers-setinterval" title="dom-windowtimers-setInterval">setInterval</a>(in Function handler, in optional float timeout, in any... args);
+ long <a href="#dom-windowtimers-setinterval" title="dom-windowtimers-setInterval">setInterval</a>([AllowAny] in DOMString handler, in optional float timeout, in any... args);
void <a href="#dom-windowtimers-clearinterval" title="dom-windowtimers-clearInterval">clearInterval</a>(in long handle);
};
<a href="#window">Window</a> implements <a href="#windowtimers">WindowTimers</a>;</pre><dl class="domintro"><dt><var title="">handle</var> = <var title="">window</var> . <code title="dom-windowtimers-setTimeout"><a href="#dom-windowtimers-settimeout">setTimeout</a></code>( <var title="">handler</var> [, <var title="">timeout</var> [, <var title="">arguments</var>... ] ] )</dt>
@@ -50283,11 +50285,12 @@
<ol><li>
- <p>If the first argument to the invoked method is an object that
- has an internal [[Call]] method, then return a <a href="#concept-task" title="concept-task">task</a> that checks if the entry for <var title="">handle</var> in <var title="">list</var> has been
- cleared, and if it has not, calls the aforementioned [[Call]]
- method with as its arguments the third and subsequent arguments to
- the invoked method (if any), and with an undefined <var title="">thisArg</var>, and abort these steps. <a href="#refsECMA262">[ECMA262]</a></p>
+ <p>If the first argument to the invoked method is a
+ <code><a href="#function">Function</a></code>, then return a <a href="#concept-task" title="concept-task">task</a> that checks if the entry for <var title="">handle</var> in <var title="">list</var> has been
+ cleared, and if it has not, calls the <code><a href="#function">Function</a></code> with
+ as its arguments the third and subsequent arguments to the invoked
+ method (if any) and with an undefined <var title="">thisArg</var>,
+ and abort these steps. <a href="#refsECMA262">[ECMA262]</a></p>
<p class="note">Setting <var title="">thisArg</var> to undefined
means that the function code will be executed with the <code title="">this</code> keyword bound to the <code><a href="#windowproxy">WindowProxy</a></code>
@@ -50298,9 +50301,8 @@
</li>
- <li><p>Apply the ToString() abstract operation to the first
- argument to the method, and let <var title="">script source</var>
- be the result. <a href="#refsECMA262">[ECMA262]</a></li>
+ <li><p>Let <var title="">script source</var> be the first argument
+ to the method.</li>
<li><p>Let <var title="">script language</var> be
JavaScript.</li>
@@ -50347,12 +50349,6 @@
<ol><li><p>Let <var title="">timeout</var> be the second argument to
the method, or zero if the argument was omitted.</li>
- <li><p>Apply the ToString() abstract operation to <var title="">timeout</var>, and let <var title="">timeout</var>
- be the result. <a href="#refsECMA262">[ECMA262]</a></li>
-
- <li><p>Apply the ToNumber() abstract operation to <var title="">timeout</var>, and let <var title="">timeout</var> be the
- result. <a href="#refsECMA262">[ECMA262]</a></li>
-
<li><p>If <var title="">timeout</var> is an Infinity value, a
Not-a-Number (NaN) value, or negative, let <var title="">timeout</var> be zero.</li>
Received on Wednesday, 10 August 2011 00:16:14 UTC