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

Unified Diff: LayoutTests/http/tests/inspector/indexeddb/resources-panel.html

Issue 24109003: [DevTools] Resources panel SideBarTreeElement should show expand/collapse option only if it has chi… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Suggested fix. Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/devtools/front_end/ResourcesPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/indexeddb/resources-panel.html
diff --git a/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html b/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html
index a567151eb7ce1bbc3cb7e859b76a7c0e0bd23afc..7300632a6726861d5a7704a1ba0a011faf52db78 100644
--- a/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html
+++ b/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html
@@ -43,7 +43,8 @@ function test()
}
}
- WebInspector.showPanel("resources");
+ // Load panel to install listeners.
+ WebInspector.panel("resources");
InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, "_indexedDBAdded", indexedDBAdded, true);
function indexedDBAdded()
@@ -63,6 +64,8 @@ function test()
InspectorTest.addResult("Database loaded.");
}
+ WebInspector.showPanel("resources");
+
InspectorTest.addResult("Expanded IndexedDB tree element.");
WebInspector.panels.resources.indexedDBListTreeElement.expand();
« no previous file with comments | « no previous file | Source/devtools/front_end/ResourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698