[whatwg] setTimeout clamps

Glenn Maynard glenn at zewt.org
Sat Jan 15 18:51:08 PST 2011


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"?

-- 
Glenn Maynard



More information about the whatwg mailing list