WebSQL was a completely separate debate, if I recall correctly, the issues there had to do with WebSQL being heavily dependent on SQLite, a single implementation. So it was hard to spec in a vendor-independent way like web standards require.
IndexedDB is much less capable than SQLite, no doubt about it, but still very useful, and far far simpler and feasible to spec and standardize (which it has been).
It is another case where they make fundamentally bad decision.
In case of WebSQL, 40 years of legacy is not important. Millions business apps developers needs are not important. Clean and nice spec is more important for Mozilla guys.
However in case of Brendan Eich baby, legacy is very important. Ugly hacks like asm.js, without W3 specs, are promoted. Try to guess why.
Don't know why others are giving you sensible answers, but you using the words 'Brendan Eich baby' shows your level of trolling. If you want a _good_ discussion, stop doing that.
So why Mozilla helped to kill WebSQL? Because NoSQL (IndexedDB) is so much better than SQLite?
Mozilla is too much focused on Brendan Eich baby. They should really move forward because JavaScript is becoming new IE6.