history.js icon indicating copy to clipboard operation
history.js copied to clipboard

Firefox: NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

Open jacobraccuia opened this issue 9 years ago • 1 comments

NS_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

I get the above error in Firebug, running latest Mozilla 46.0.1, if I leave my site open after a long period of time. Closing the tab with the site open resolves the issue.

What can I do?

jacobraccuia avatar May 14 '16 23:05 jacobraccuia

I modified line 2053 of the jquery.history.js and added the code 1014. Firefox throws a 1014 when persistent storage is reached. This fix for safari fixes for firefox too.

`if (e.code === DOMException.QUOTA_EXCEEDED_ERR || e.code === 1014) {`

jacobraccuia avatar Jul 26 '16 23:07 jacobraccuia