[whatwg] SQL storage and onunload

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