Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js

Issue 2649923006: [DevTools] Add filtering to DOM storages (Closed)
Patch Set: [DevTools] Add filtering to DOM storages Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
index 5b28d04d94acebaa19fd40a82851d6572832f436..948c20fa46b1c6f8250c1e88deab4409d3fe7085 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -91,8 +91,8 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
this.resourcesListTreeElement = this._addSidebarSection(Common.UIString('Frames'));
var mainContainer = new UI.VBox();
- this._storageViewToolbar = new UI.Toolbar('resources-toolbar', mainContainer.element);
this.storageViews = mainContainer.element.createChild('div', 'vbox flex-auto');
+ this._storageViewToolbar = new UI.Toolbar('resources-toolbar', mainContainer.element);
this.splitWidget().setMainWidget(mainContainer);
/** @type {!Map.<!Resources.Database, !Object.<string, !Resources.DatabaseTableView>>} */
@@ -597,7 +597,7 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
/**
* @param {!Resources.CookieTreeElement} treeElement
* @param {string} cookieDomain
- * @param {!SDK.ResourceTreeFrame} cookieFrameTarget
+ * @param {!SDK.Target} cookieFrameTarget
*/
showCookies(treeElement, cookieDomain, cookieFrameTarget) {
var view = this._cookieViews[cookieDomain];
@@ -614,7 +614,7 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
*/
clearCookies(cookieDomain) {
if (this._cookieViews[cookieDomain])
- this._cookieViews[cookieDomain].clear();
+ this._cookieViews[cookieDomain].deleteAllItems();
}
showApplicationCache(frameId) {

Powered by Google App Engine
This is Rietveld 408576698