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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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 | third_party/WebKit/LayoutTests/http/tests/inspector/elements/event-listeners-framework-with-service-worker.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
index e3c0eaab984138ec5e67c4412de5b3d5c0f57800..25db6a9b7ba8f4291673113f0de57fb6c53d6d2d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
@@ -9,7 +9,7 @@ InspectorTest.inlineStyleSection = function()
InspectorTest.computedStyleWidget = function()
{
- return WebInspector.panels.elements.sidebarPanes.computedStyle.children()[0]
+ return WebInspector.panels.elements.sidebarPanes.computedStyle;
}
InspectorTest.dumpComputedStyle = function(doNotAutoExpand)
@@ -437,8 +437,8 @@ InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked)
InspectorTest.eventListenersWidget = function()
{
var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners;
- sidebarPane.expandPane();
- return sidebarPane.children()[0];
+ sidebarPane.requestReveal();
+ return sidebarPane;
}
InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements/event-listeners-framework-with-service-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698