- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 11 Feb 2011 23:50:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19184 Modified Files: Overview.html Log Message: Define 'this' for setTimeout functions (whatwg r5879) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4720 retrieving revision 1.4721 diff -u -d -r1.4720 -r1.4721 --- Overview.html 11 Feb 2011 23:26:53 -0000 1.4720 +++ Overview.html 11 Feb 2011 23:50:36 -0000 1.4721 @@ -49274,10 +49274,15 @@ <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 abort these steps.</p> + 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 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> + or the <code>WorkerGlobalScope</code> object, as if the code was + running in the global scope.</p> <p>Otherwise, continue with the remaining steps.</p>
Received on Friday, 11 February 2011 23:50:42 UTC