On 03/10/2008, at 14:16, Maciej Stachowiak wrote:

>> [...] Other sites update their title on a timer in a way that is  
>> useful for a background tab. For example, GMail updates the unread  
>> count, which is quite useful on a background tab label. [...]

Maybe the new Timer API should be extended with an option for:  should  
this timer be executed when the page is hidden in a background tab.

Animation timers would then specify no, thereby reducing amount of cpu/ 
battery consumed.

GMail could specify yes: low-overhead update of the unread count in  
background.

It would make sense to have the default to be false, and to be the  
last parameter.
----
    - Peter Speck


_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to