On Fri, Oct 30, 2009 at 12:23 AM, timeless <span dir="ltr"><<a href="mailto:timeless@gmail.com">timeless@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, Oct 15, 2009 at 10:53 PM, Markus Ernst <<a href="mailto:derernst@gmx.ch">derernst@gmx.ch</a>> wrote:<br>
> From a performance point of view it might even be worth thinking about the<br>
> contrary: Allow UAs to stop the execution of scripts on non-visible windows<br>
> or elements by default, and provide a method to explicitly specify if the<br>
> execution of a script must not be stopped.<br>
<br>
</div>fwiw, the N900 browser (microb) does this by default. it breaks google<br>
talk in gmail among other things. (You can turn this option off<br>
through the browser menus, you don't need to use about:config.)<br>
<br>
in many ways it's bad, especially since once broken, pages can't<br>
really be fixed, and users don't really understand that we broke it<br>
because they let us.<br>
<br>
being able to send a "Hibernate" and "Resume" event pair to web apps<br>
could be neat, but we don't have the resources to see if we could<br>
convince pages to respond to them.<br></blockquote><div><br>Why don't you just treat this like bfcache and fire "pagehide" and "pageshow" events?<br><br></div>Rob<br></div>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>