mrappleton/backbone-fetch-cache — pull request #22 by inf0rmer (2013-05-07 15:54:12+00:00)
Title: Better error checking for Quota exceptions

The previous code for this was really flaky, it turns out most browsers disagree on the way to expose error properties...

This PR tries to detect the error code instead (22) for the Quota Exceeded Error. Even then browsers differ, but checking is much easier. I also added tests for the other specific cases, even though the errors themselves are still mocked.