With the following segment:
var db = openDatabase('mydb', '1.0', 'my first database', 2 * 1024 * 1024);
I need to be able to have a dynamically sized database. Will the above database expand beyond the recommended size, or will it simply start throwing errors? Is there a workaround for this? Thanks
Web Storage
An arbitrary limit of 5MB per origin (website, app, etc) is recommended, and placed on all web storage.
To simply, I would make the database size limit :
5 * 1024 * 1024(5MB)To answer your specific question, at least on an iPhone, that variable is described as the maxSize by Apple