Uncaught ReferenceError: openDatabase is not defined-Collection of common programming errors

WebSQL is disabled for Chrome apps, as you can see in the documentation.

If you want to save data persistently, use the chrome.storage API, IndexedDB or the chrome.fileSystem API (not to be confused with the HTML5 Filesystem API!).

Originally posted 2014-01-04 14:17:56.