W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: Strict mode callbacks and setTimeout

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 8 Jul 2011 19:36:17 +0000 (UTC)
To: "Mark S. Miller" <erights@google.com>
cc: Allen Wirfs-Brock <allen@wirfs-brock.com>, Boris Zbarsky <bzbarsky@mit.edu>, Luke Hoban <lukeh@microsoft.com>, "es5-discuss@mozilla.org" <es5-discuss@mozilla.org>, public-script-coord@w3.org
Message-ID: <Pine.LNX.4.64.1107081934000.20871@ps20323.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC