← Back to release summary

Deprecate and Remove WebSQL

Category
Offline / Storage
Type
Feature removal
Status
Origin trial (Chrome 119)
Intent stage
Dev trials

Summary

The Web SQL Database standard was first proposed in April 2009 and abandoned in November 2010. Gecko never implemented this feature and WebKit deprecated this feature in 2019. The W3C encouraged those needing web databases to adopt Web Storage or Indexed Database. Ever since its release, it has made it incredibly difficult to keep our users secure. SQLite was not initially designed to run malicious SQL statements, and yet with WebsQL we have to do exactly this. Having to react to a flow of stability and security issues is an unpredictable cost to the storage team. With SQLite over WASM as its official replacement, we want to remove WebSQL entirely.

Motivation

WebSQL is a deprecated API. Continuing to support this API is not secure for users, reduces stability in Chrome, and a tax to Chrome Release, Security TPMs and the Chrome Storage Team.

Standards & signals

Docs: https://developer.chrome.com/blog/deprecating-web-sql https://docs.google.com/document/d/1bTj_nDqbdvE102sCm3KuwvN5c_HneLNPl9mmPeUjG4M/edit?usp=sharing https://docs.google.com/document/d/1CDdEO65pCIo60NM8CWHNNN7EunJ-wd8v1dGUxTOBJrM/edit?resourcekey=0-R0fxP199QQ-8gnMqzmQyrw

View on chromestatus.com