W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] SQL storage and onunload

From: Alexey Proskuryakov <ap@webkit.org>
Date: Fri, 8 Feb 2008 12:44:49 +0300
Message-ID: <C68D5A46-0826-4F0C-9BAC-7C8DC4E2F4E9@webkit.org>

   It seems to be a natural idea to save Web application state from an  
unload event handler. But is it guaranteed that client-side database  
API is still functional at this point? And if it is - can one queue up  
more statements and/or transactions from statement callbacks?

   There needs to be some limits put on this, as otherwise a script  
could continue to use resources indefinitely after a browser window is  
closed. But I do not see where it is specified, explicitly or  
implicitly.

- WBR, Alexey Proskuryakov
Received on Friday, 8 February 2008 01:44:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:00 UTC