Index: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js |
index 0675cb28ca7280f6c37cc0a26355262405ae67d0..95f109e73a286759acb0eb7843a75ff5a67ec3a4 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageItemsView.js |
@@ -66,10 +66,7 @@ Resources.DOMStorageItemsView = class extends Resources.StorageItemsView { |
this.refreshItems(); |
} |
- /** |
- * @param {!Common.Event} event |
- */ |
- _domStorageItemsCleared(event) { |
+ _domStorageItemsCleared() { |
if (!this.isShowing() || !this._dataGrid) |
return; |
@@ -207,6 +204,8 @@ Resources.DOMStorageItemsView = class extends Resources.StorageItemsView { |
*/ |
deleteAllItems() { |
this._domStorage.clear(); |
+ // explicitly clear the view because the event won't be fired when it has no items |
+ this._domStorageItemsCleared(); |
} |
_editingCallback(editingNode, columnIdentifier, oldText, newText) { |