Changeset [063b05d9643c35b303568a28809e4eb3224f71ec] by Alexander Ljungberg
Revision 063b05d9643c35b303568a28809e4eb3224f71ec,
committed by Alexander Ljungberg
· October 23rd, 2011 @ 02:12 PM
Fixes #1384. Avoid user defaults QUOTA_EXCEEDED_ERR crash.
Switch to cookie based user defaults if HTML 5 local storage exists but is disabled, as is the case when Safari is in 'private browsing' mode.
Don't crash if the local storage quota is reached. Instead log a
warning and silently fail to store the new user default.
https://github.com/cappuccino/cappuccino/commit/063b05d9643c35b3035...
1 changed file
-
M
Foundation/CPUserDefaults.j