I\'m using HTML5 FileWriter API to save the state of my webapp. I have bit of JS that periodically calls FileWriter.write to do that (so , over time, the
FileWriter.write
A workaround is the following code:
this._writer.truncate(0); window.setTimeout(function(){ this._writer.write(content); }.bind(this),500)
This simply wait 500 milliseconds before writing. Not great but it works...