3 ms·
regarding apparently the standards committees only want standards with multiple competing implementations., yes, that is a quite basic principle, but it is not
by detaro 10y ago
regarding apparently the standards committees only want standards with multiple competing implementations., yes, that is a quite basic principle, but it is not directly what killed WebSQL.
(Non-)passing of a standard depends a lot on what is going inside the specific Working Group: If everybody had agreed that SQL was the right answer/important to have, WebSQL probably could have gotten through pretty close to what it was, but they didn't.
Mozilla published some blog posts about why they didn't like WebSQL and backed IndexedDB instead: https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/ https://hacks.mozilla.org/2010/06/beyond-html5-database-apis...
If someone else had put in the work to write a "proper specification" of an SQL dialect, shown that it works with (modified) SQLite and was reasonable to implement in a different implementation, WebSQL might have passed nevertheless.
It happens that W3C Working Groups release standards without 2 implementations, so this isn't some strict rule that can't be broken, but then everybody involved agrees.
In the other direction, I think it would have been good to demonstrate by implementation that you can build good SQL-like APIs on top of IndexedDB during the standards process, to make sure it fulfills that need.