New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 682425 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Add a way to delete IndexedDB instances from the DevTools

Project Member Reported by eostroukhov@chromium.org, Jan 18 2017

Issue description

Currently the only way to delete IndexedDB database is to clear the entire storage. It would be useful if it was possible just to delete the single database.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1470b1f47385ebd166e6ca60a34a770c0f4c40f6

commit 1470b1f47385ebd166e6ca60a34a770c0f4c40f6
Author: eostroukhov <eostroukhov@chromium.org>
Date: Mon Jan 23 21:13:53 2017

Allow closing IndexedDB database before deleting

DevTools wants to allow the users to delete individual IndexedDB
databases. Current API cannot delete database that is currently open.
This change introduces a new API parameter to force closing the
database.

BUG= 682425 

Review-Url: https://codereview.chromium.org/2642943002
Cr-Commit-Position: refs/heads/master@{#445486}

[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_database.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_database.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_database_unittest.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_dispatcher_host.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_dispatcher_host.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_factory.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_factory_impl.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_factory_impl.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/indexed_db_factory_unittest.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/browser/indexed_db/mock_indexed_db_factory.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/child/indexed_db/webidbfactory_impl.cc
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/child/indexed_db/webidbfactory_impl.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/content/common/indexed_db/indexed_db.mojom
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
[modify] https://crrev.com/1470b1f47385ebd166e6ca60a34a770c0f4c40f6/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h

This is suggested interim UX for the database overview (while planning for a more comprehensive redesign)
new-idbdatabase-view.png
37.0 KB View Download
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dcca6cc86709771f3d79f093380847d7bf890d5c

commit dcca6cc86709771f3d79f093380847d7bf890d5c
Author: eostroukhov <eostroukhov@chromium.org>
Date: Wed Jan 25 22:53:43 2017

[DevTools] Provide a way to delete Indexed DBs

BUG= 682425 

Review-Url: https://codereview.chromium.org/2654483004
Cr-Commit-Position: refs/heads/master@{#446147}

[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/core/inspector/browser_protocol.json
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/core/inspector/inspector_protocol_config.json
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBModel.js
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/resources/indexedDBViews.css
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
[add] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/ui/confirmDialog.css
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/devtools/front_end/ui/module.json
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
[modify] https://crrev.com/dcca6cc86709771f3d79f093380847d7bf890d5c/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h

Status: Fixed (was: Assigned)

Comment 5 by kayce@google.com, Jan 31 2017

Labels: DevTools-Release-Notes-Feature

Sign in to add a comment