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

Issue 681054 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Local storage is missing easily accessible Clear UI

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

Issue description

Cookies storage has a clear button in the cookie list toolbar and in the popup menu. Local storage needs the same UI for consistency.
 
clear-cookies.png
24.5 KB View Download
We should remove the 'Clear' button from the context menu - it is not discoverable. And we should move the toolbar to above the cookie list. Local storage could also have a toolbar, sure.
For the record, we have the Lock icon > Origin Info Bubble > Cookies dialog which also lists local storage (and other kinds of storage) which is easily accessible, it's just not in the DevTools.

Project Member

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

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

commit 7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58
Author: eostroukhov <eostroukhov@chromium.org>
Date: Sat Jan 21 00:18:02 2017

[DevTools] Clear local storage

Add a Clear pop-up menu item and toolbar button to the local storage UI.

BUG= 681054 

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

[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/core/inspector/browser_protocol.json
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/devtools/front_end/resources/resourcesPanel.css
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp
[modify] https://crrev.com/7f604c4d2d191d8b4f1ccbb15b69e4a3ff2e5a58/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.h

Status: Fixed (was: Assigned)

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

Labels: DevTools-Release-Notes-Feature

Sign in to add a comment