Commit Graph

3 Commits

Author SHA1 Message Date
Leo Ring
f611cb0d22 LocalStorage: Add table initialisation for in memory databases (#41486)
Fixes #41485

---------

Signed-off-by: Leo Ring <leoring03@gmail.com>
2025-12-24 01:05:28 +00:00
Taym Haddadi
f794a2480d IndexedDB: Handle error of creating new db Step 6 of (#41014)
I added error handling for handle_open_db but I also added it to
SqliteEngine::new and handle_sync_operation because we also open db
there, so I am not sure about these two.

part of #40983

---------

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
2025-12-17 19:11:46 +00:00
Ashwin Naren
6846ab980a storage: Port webstorage to sqlite3 (#39653)
Currently we use a single json file to hold all webstorage data. This is
bad; this json file would become slow to read or write to as the number
of origins and key/value pairs increase. This PR splits this into one
database per an origin, and uses sqlite3 instead of json. IndexedDB
already uses sqlite3, so no additionally dependencies are added.

Fixes: #36034
Testing: WPT

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-10-08 06:57:08 +00:00