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

Unified Diff: LayoutTests/inspector/elements/styles/commit-selector.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/inspector/elements/styles/commit-selector.html
diff --git a/LayoutTests/inspector/elements/styles/commit-selector.html b/LayoutTests/inspector/elements/styles/commit-selector.html
index 13d817827affe62e561df91b40853acb7f3e7e3b..6fc54f9399a76b6d4f87d5a46ab47a3d3d2cbbeb 100644
--- a/LayoutTests/inspector/elements/styles/commit-selector.html
+++ b/LayoutTests/inspector/elements/styles/commit-selector.html
@@ -18,7 +18,7 @@ function test()
{
InspectorTest.addResult("=== Before selector modification ===");
InspectorTest.dumpSelectedElementStyles(true);
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+ var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
section.startEditingSelector();
section._selectorElement.textContent = "hr, #inspected ";
section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
@@ -29,7 +29,7 @@ function test()
{
InspectorTest.addResult("=== After non-affecting selector modification ===");
InspectorTest.dumpSelectedElementStyles(true);
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+ var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
section.startEditingSelector();
section._selectorElement.textContent = "#inspectedChanged";
section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));

Powered by Google App Engine
This is Rietveld 408576698