[whatwg] setTimeout clamps

On 1/15/11 9:51 PM, Glenn Maynard wrote:
> On Sat, Jan 15, 2011 at 9:29 PM, Boris Zbarsky<bzbarsky at mit.edu>  wrote:
>> I've been looking at the setTimeout clamping in Gecko recently, and one
>> thing I've been interesting in trying is to clamp differently in different
>> windows (for example, have a lower clamp in active windows and a higher one
>> in inactive ones).  That's not something the spec seems to allow right now,
>> but I think it would be beneficial to users in terms of preventing inactive
>> windows from accidentally hogging the CPU.
>
> This isn't allowed by "Optionally, wait a further user-agent defined
> length of time"?

Hmm.  It may well be, yes.  Good point!

-Boris

Received on Saturday, 15 January 2011 19:01:26 UTC