Hello Everyone,

I am new to this forum, but it seems like the right place to ask this question. 
In the utility code I'm writing, I'd like to be notified that my app is about 
to quit and then ask the system for some time while I dump my cache into the 
database (through IndexedDB).

I see that there is the onunload event, but my understanding is that if I 
cancel that event, a dialog pops up. This is highly undesirable as I'd rather 
just postpone quitting (or show my own gui) until my operation is finished.

Are there apis that would allow me to do this? Any suggestions?

Thank you very much for your thoughts,

_ michael

--- 
Michael Bishop
Hitpoint Studios, Inc.
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to