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 20:44:21 +0300
Message-ID: <DF7008B4-6CD7-444F-9147-9C07BEAAAD01@webkit.org>

On Feb 8, 2008, at 8:24 PM, Brady Eidson wrote:

> Though it would be very nice to have defined semantics wrt the  
> unload handler, I always thought this work could be done with the  
> beforeonunload handler, instead.

   I am not sure if this helps much - you can create a transaction  
from onbeforeunload, but you are likely to run the actual statement  
after the frame closes.

> As far as the unload handler question, what are the semantics for  
> XHR?  Seems the application of "saving some application state via I/ 
> O" is the same concept here, so the same rules should apply.


   That's a good question :)

- WBR, Alexey Proskuryakov
Received on Friday, 8 February 2008 09:44:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:39 UTC