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>
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
First real subtask: Clean up WKOriginDataManager and get it messaging to the DatabaseProcess - https://bugs.webkit.org/show_bug.cgi?id=135035
Filed subtask https://bugs.webkit.org/show_bug.cgi?id=135346 to make the API actually operate on IDB