4 ms·
Isn't WebSQL deprecated?
by barbecue_sauce 8y ago
Isn't WebSQL deprecated?
- virtualwhys 8y agoYes, and 10 years after its deprecation, WebSQL is still shipping with Safari and Chrome (worth pointing out that these 2 browsers completely dominate the market). Interestingly, neither Apple nor Google were pro-deprecation; Mozilla, and to some degree Microsoft, spearheaded the move to standardize on IndexedDB. Moving forward now that Edge is based on Chrome, maybe there's hope for WebSQL after all. Not that it will be undeprecated, but if 98% of the browser market supports WebSQL then it's effectively a non-standard standard.
- lmorchard 8y agoThe "standard" would have basically read "link your browser with SQLite v3.x.x or an exact bug-compatible clone". An attempt was made to break down the SQL dialect and exact behavior of that version of SQLite, but the objection was that it's not really great to reverse engineer a standard from a single vendor implementation even if that vendor's product is open source. (eg. what happens when sqlite changes? do browsers stay fixed on an ancient exact version?)
- grun 8y agoYep. WebSQL is unmaintained. https://www.w3.org/TR/webdatabase/ https://www.w3.org/TR/webdatabase/ Though many browsers still support it. https://caniuse.com/#feat=sql-storage https://caniuse.com/#feat=sql-storage