W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2011

[Bug 11085] Define what "this" value to use for setTimeout(function)

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Feb 2011 23:50:29 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Po2kv-0005Rv-LT@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11085

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-02-11 23:50:29 UTC ---
Reading the JS spec, it seems to me that section "10.4.3 Entering Function
Code" says that all I have to do is set /thisArg/ to /undefined/ to get the
effect we're looking for here. I already have some prose in the HTML spec about
setting ThisBinding in certain cases to use WindowProxy rather than Window.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's initial comments.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 11 February 2011 23:50:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 February 2011 23:50:31 GMT