Storage
From PlainOldWebserver
SQLite works within Firefox 2.0 onward. This creates persistent, easily accessible storage. Storage is file-based, so you need to look for this 'test.sqlite' file in your personal profile directory.
var filename = "test.sqlite";
var dirservice=Components.classes["@mozilla.org/file/directory_service;1"].
getService(Components.interfaces.nsIProperties);
var f = dirservice.get('ProfD', Components.interfaces.nsILocalFile);
f = pow_append_path(f, filename);
var storageService = Components.classes["@mozilla.org/storage/service;1"]
.getService(Components.interfaces.mozIStorageService);
var mDBConn = storageService.openDatabase(f);
Result:
Look in your profile directory for 'test.sqlite'.