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

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 357ba474da70e49c671879a54e55a948b46dac21..924bdbc17b275f92d52166c703d9d2656e43bbab 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -79,8 +79,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>>} */
@@ -585,7 +585,7 @@ Resources.ResourcesPanel = class extends UI.PanelWithSidebar {
/**
* @param {!Resources.CookieTreeElement} treeElement
* @param {string} cookieDomain
- * @param {!SDK.ResourceTreeFrame} cookieFrameTarget
+ * @param {!SDK.Target} cookieFrameTarget
dgozman 2017/01/30 21:53:48 Nice :-)
*/
showCookies(treeElement, cookieDomain, cookieFrameTarget) {
var view = this._cookieViews[cookieDomain];
@@ -602,7 +602,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