Hi Matty,
I did a little research in the beginning of 2012, and this is how it
was working at that moment:
- there are 2 types of storage in HTML5: Temporary and Permanent
- Temporary storage can be used w/o any user permission;
- per-site quota size depends on free disk space size, on Nexus S
it was about 10Mb, on a 16Gb Galaxy Nexus the quota size was about
130Mb;
- the difference is because on Galaxy the entire flash memory is
available to applications, while on S only 1Gb of it;
- any attempts to query more space were silently truncated;
- to use Permanent storage, your application needs to get user's
permission; at the time I was testing it, WebSQL didn't support this
type of storage;
- for the permanent storage, it was possible to query up to 1Gb for
a site;