[whatwg] SQL storage and onunload

Alexey Proskuryakov ap at webkit.org
Sat Feb 9 13:06:39 PST 2008


On Feb 9, 2008, at 12:58 PM, Anne van Kesteren wrote:

>> As far as the unload handler question, what are the semantics for  
>> XHR?
>
> I think the user leaving the page is the same as aborting the  
> download.


   I've seen servers (e.g. Google) use XHR in onunload to track usage  
statistics. Sounds like a reasonable use case (really, is there a  
better way?).

- WBR, Alexey Proskuryakov




More information about the whatwg mailing list