cappuccino/cappuccino — Issue #1384: CPUserDefaultsLocalStore - Private Browsing bug 
Author: BlairDuncan
Created: 2011-10-23 17:17:21+00:00
State: open

If Private Browsing is ebabled on the browser an attempt to setData throws a DOM exception error that causes an app to break.

the fix is to simply wrap setData in a try/catch as in:
https://gist.github.com/1307562/18ee825fb1f79ddea1bcbdbdea505d7bfcf15868