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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11085

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2011-01-11 21:32:45 UTC ---
I think that's right.  (I am still not clear on all of the distinctions between
the Window and WindowProxy objects in the spec.  I notice that that section
talks only about Window objects.)  Since you mention [[Call]] directly, it
would be fine just to mention what the this value is at that point.  So,
something like:

  ... calls the aforementioned [[Call]] method with as its arguments the third
  and subsequent arguments to the invoked method (if any) and with BLAH as the
  *this* object, ...

where BLAH is the method context (if that is a Window) or the script's global
object (if it's a WorkerUtils).  Or maybe the script's global object is the
same for both of these cases?

-- 
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 Tuesday, 11 January 2011 21:32:49 UTC