[whatwg] SQL storage and onunload

Alexey Proskuryakov ap at webkit.org
Fri Feb 8 01:44:49 PST 2008

   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  

- WBR, Alexey Proskuryakov

More information about the whatwg mailing list