IndexedDB seems like a whole bag of gotchas. SQLite + simpler browser provided file backing seems interesting to me.