Ok, so...
It seems the onpause event gets triggered and my callback function called BUT....
In this function I need to update a localStorage entry but this isn't executed.
I think the localStorage access takes too much time so it is executed but never completed...
I can save everything only using an alert to block javascript...
Any clue?
|