Bug 135029 - WK2 should have API to support fetching and deleting IndexedDatabases on a per-origin basis
Summary: WK2 should have API to support fetching and deleting IndexedDatabases on a pe...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 135035 135346
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-17 15:40 PDT by Brady Eidson
Modified: 2014-07-28 13:01 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2014-07-17 15:40:19 PDT
WK2 should have API to support fetching and deleting IndexedDatabases on a per-origin basis

This is the same patter we have for KeyValueStorageManager, CookieManager, DatabaseManager, etc etc etc.

Except we hope to not repeat the same mistake again and instead make a single API that can be used for all website data types, present and future.

Work was already done on this last fall, adding the WKOriginDataManager API.  That API doesn't actually do anything, so it isn't used anywhere, so we're still free to change it around.

I plan to make it actually work for IndexedDatabases, and other data types can be migrated over 1-by-1

In radar - <rdar://problem/15917314>
Comment 1 Brady Eidson 2014-07-17 15:43:44 PDT
Call this an umbrella bug.

First subtask filed as:
https://bugs.webkit.org/show_bug.cgi?id=135030
Simplify WebOriginDataManager(Proxy) and rename to UIProcessOriginDataManager and ChildProcessOriginDataManager
Comment 2 Brady Eidson 2014-07-17 18:05:59 PDT
First real subtask:
Clean up WKOriginDataManager and get it messaging to the DatabaseProcess - https://bugs.webkit.org/show_bug.cgi?id=135035
Comment 3 Brady Eidson 2014-07-28 13:01:19 PDT
Filed subtask https://bugs.webkit.org/show_bug.cgi?id=135346 to make the API actually operate on IDB