Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop in after NS_ERROR_DOM_QUOTA_REACHED #4

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

Infinite loop in after NS_ERROR_DOM_QUOTA_REACHED #4

kpturner opened this issue Apr 7, 2011 · 1 comment

Comments

@kpturner
Copy link

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.

@stephen-uac
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants