Infinite loop in after NS_ERROR_DOM_QUOTA_REACHED #4

Open
kpturner opened this Issue Apr 7, 2011 · 1 comment

Comments

Projects
None yet
2 participants

kpturner commented Apr 7, 2011

Scenario.

  • localStorage already has other data in it.
  • Plug-in tries to store json, but it is too big.
  • cleanUpLocalStorage has a go at cleaning up but finds nothing to do (the data already in localStorage has nothing to do with the plug-in)
  • Loops around and tries again. Still too big (obviously). Loops around and tries again......and so on.

Result: Infinite loop.

My fix here should resolve this issue:

#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment