Question

I'm using this very common line of code to create a HTML 5 local SQLite database:

var db = window.openDatabase("testDB","1.0","A test SQLite database",20000);

If the database already exists openDatabase should open it, however with each refresh of my page a new database with identical details to the existing one(s) is created. I am using Safari 5.1.2 to test this and viewing the storage via the error console -> Resources tab.

Was it helpful?

Solution

This issue seems to be a UI related bug introduced in Safari 5.1.2 and does not appear to have any impact on my webapps performance.

Will edit if I can find conformation of this being a UI bug.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top