Re: Strict mode callbacks and setTimeout

On Thu, 7 Jul 2011, Mark S. Miller wrote:
> 
> Exactly. It makes a difference. Should
> 
>      window1.setTimeout.call(window2, ...)
> 
> use window1's or window2's task queue?

There is only one task queue per task source for all Windows using the 
same event loop. So window1 and window2 use the same task queue here.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 8 July 2011 19:36:52 UTC