RESOLVED INVALID 38691
HTML5 Database should be tracked per pagegroup
https://bugs.webkit.org/show_bug.cgi?id=38691
Summary HTML5 Database should be tracked per pagegroup
Laszlo Gombos
Reported 2010-05-06 14:29:21 PDT
Currently HTML5 persistent storages (localStorage, indexedDatabase) are tracked per PageGroup - that is each pageGroup can have its own sandboxed persistent area. This is not the case for HTML5 datatabase, as the DatabaseTracker is a singleton for a "WebKit instance".
Attachments
Anton D'Auria
Comment 1 2011-02-04 09:03:12 PST
The bug description is incorrect. LocalStorage currently does not have a "tracker" in the DatabaseTracker sense, and PageGroup doesn't "track" local storage. PageGroup currently loads LocalStorage key/value pairs for an origin when it is requested. If the backing db doesn't exist, it will create it. The path for the db is a shared setting between all Pages. DatabaseTracker has its own record of origins with databases, quotas, and names. It manages the quotas, and provides an API to list of origins with databases and to delete databases. I'm currently working on a tracker with the same functionality for LocalStorage: http://webkit.org/b/51878
Jeremy Orlow
Comment 2 2011-02-04 10:26:49 PST
(In reply to comment #1) > The bug description is incorrect. LocalStorage currently does not have a "tracker" in the DatabaseTracker sense, and PageGroup doesn't "track" local storage. PageGroup currently loads LocalStorage key/value pairs for an origin when it is requested. If the backing db doesn't exist, it will create it. The path for the db is a shared setting between all Pages. > > DatabaseTracker has its own record of origins with databases, quotas, and names. It manages the quotas, and provides an API to list of origins with databases and to delete databases. > > I'm currently working on a tracker with the same functionality for LocalStorage: http://webkit.org/b/51878 I'm not sure saying something is "tracked" implies there's a tracker class, so saying the "bug description is incorrect" is probably a bit overly strong. Thanks for the pointer to the bug though. In the future, please cc me on localStorage bugs.
Anne van Kesteren
Comment 3 2023-05-22 03:51:18 PDT
Pretty sure this is obsolete now.
Note You need to log in before you can comment on or make changes to this bug.