It was Mozilla's insistence on IndexedDB that tipped the balance. WebSQL was already well supported in Chrome and Safari and if Mozilla hadn't inexplicably come down on Microsoft's side we would have a reasonable client-side database solution today.
Lest this particular piece of villainy be forgotten:
https://hacks.mozilla.org/2010/06/beyond-html5-database-apis...