W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

Re: Strict mode callbacks and setTimeout

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Jan 2012 22:13:53 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
cc: "Mark S. Miller" <erights@google.com>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Luke Hoban <lukeh@microsoft.com>, "es5-discuss@mozilla.org" <es5-discuss@mozilla.org>, public-script-coord@w3.org
Message-ID: <Pine.LNX.4.64.1201172213140.14913@ps20323.dreamhostps.com>
On Fri, 8 Jul 2011, Boris Zbarsky wrote:
> > 
> > This might be too strong a requirement, though. I'm happy to scope it 
> > somewhat if that would make more sense. Scoping it to the Window 
> > objects using the same event loop probably makes the most sense; would 
> > that be better?
> 
> I'm not sure it would be enough better.  As the spec is currently 
> phrased, that would mean that a setTimeout(0) call on a background-tab 
> window would delay a later setTimeout(0) call on a foreground window 
> that is on the same event loop.  That somewhat defeats the point of 
> throttling background windows.

Fair enough. I've scoped it to the same Window.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 17 January 2012 22:14:16 UTC

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