On 03/09/2013, at 11:01, Gervase Markham wrote: > On 02/09/13 19:31, Fernando Jiménez Moreno wrote: >> I think that we need to show a system notification (I'll let UX >> decide how the notification should look like) every time an user >> attempts to perform an action associated with a write in the data >> partition during a low storage situation (that is a write in >> indexedDB, localStorage and offlineCache). That means that we will >> probably need to trigger this notifications from each API >> implementation. > > That sounds like a bit of a dangerous plan to me, without some sort of > throttling. If an app (perhaps because it's sub-optimally coded) makes > 100 writes to IndexedDB in quick succession, and they all fail, you > don't want 100 notifications. >
Good point. That sounds more like an implementation detail though :). We'll have to take that into account when working on the Gaia side of this. Thanks Gerv! / Fernando _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
