quirkey/sammy

Error when the storage-limit of the localStorage is reached

DHainzl opened this issue · 0 comments

Currently, Sammy throws the error "NS_ERROR_DOM_QUOTA_REACHED" when I try to save data into the session if the storage limit of the localStorage is reached.

This can be reproduced either in Firefox by visiting about:config and setting the value of dom.storage.default_quota to 0 or by visiting a page with Mobile Safari in Private Mode (which doesn't allow data to be saved to the localStorage) and then visiting a page using sammy.Session.

I already implemented a fix, I am currently working on a pull request which should be committed soon.

-- David