Bug 135029

Summary: WK2 should have API to support fetching and deleting IndexedDatabases on a per-origin basis
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, mhock, sam, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 135035, 135346    
Bug Blocks:    

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