Web SQL Database
Deprecated Web browser API From Wikipedia, the free encyclopedia
Deprecated Web browser API From Wikipedia, the free encyclopedia
Web SQL Database is a deprecated web browser API specification for storing data in databases that can be queried using SQL variant.[1][2] The technology was only ever implemented in Blink-based browsers like Google Chrome and the new Microsoft Edge, and WebKit-based browsers like Safari. As of February 2024[update], WebSQL is being phased out in favor of WebStorage and IndexedDB and OPFS, but still available in some contexts under restrictive conditions.
The API is supported by Google Chrome,[3] Opera,[4] Microsoft Edge,[5] and the Android Browser, albeit support is slowly being phased out.[6] Web SQL was deprecated and removed for third-party contexts in Chromium 97. Web SQL access in insecure contexts is deprecated as of Chrome/Chromium 105 at which time a warning message was shown in the Chrome DevTools Issue panel.[7] The API will be entirely removed from Chrome 124.[8]
In January 2010, Google announced availability of WebSQL Database API in Google Chrome.[9]
Mozilla Corporation developers publicly opposed the technology and at the same were the main proponents behind an 'alternative storage' standard, IndexedDB.[10][11] Mozilla argued that ratification of WebSQL as a standard would codify the quirks of SQLite implementation.[12][13]
In November 2010, the W3C Web Applications Working Group ceased working on the specification, citing a lack of independent implementations (i.e. using database system other than SQLite as the backend) as the reason the specification could not move forward to become a W3C Recommendation.[1]
In September 2019, Apple released Safari 13 which removed WebSQL entirely.
In November 2021, Chrome 97 removed WebSQL support in third-party contexts.[14]
In February 2023, Chrome 110 removed WebSQL support in insecure contexts but allowed exceptions set with an enterprise policy.
In October 2023, Chrome 119 was shipped with WebSQL disabled in all contexts by default, with an ability to re-enable it until Chrome 123 via a deprecation trial in some contexts.[15]
In April 2024, Chromium-based browsers, including Chrome 124 and Edge 124 have removed support WebSQL completely.[16]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.