When using html5 local storage on Safari Mobile (iOS 5), I got this error
quota_exceeded_err 22 out of the blue on one specific web site I was working on.
Turning the Safari settings private browsing off, solved the problem.
Google will not tell me the all story for now.
I am not the only one with this problem.
This may save somebody few hours of debugging.