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

Unified Diff: LayoutTests/inspector/elements/styles/styles-add-blank-property.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/styles-add-blank-property.html
diff --git a/LayoutTests/inspector/elements/styles/styles-add-blank-property.html b/LayoutTests/inspector/elements/styles/styles-add-blank-property.html
index f1cc05c1d5591137cda8e1f16ebddc07b3c579a8..ce037867091a1db3ad37b069de7913cba4da18c1 100644
--- a/LayoutTests/inspector/elements/styles/styles-add-blank-property.html
+++ b/LayoutTests/inspector/elements/styles/styles-add-blank-property.html
@@ -16,7 +16,7 @@ function test()
{
InspectorTest.addResult("Before append:");
InspectorTest.dumpSelectedElementStyles(true);
- section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
+ section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][1];
section.expand();
// Create and increment.
@@ -50,7 +50,7 @@ function test()
InspectorTest.addResult("After insertion at index 0:");
InspectorTest.dumpSelectedElementStyles(true);
- treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
+ treeElement = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
treeElement.startEditing();
treeElement.nameElement.textContent = "color";
treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
@@ -70,7 +70,7 @@ function test()
InspectorTest.addResult("After appending and changing a 'compound' property:");
InspectorTest.dumpSelectedElementStyles(true);
- treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
+ treeElement = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
treeElement.startEditing();
treeElement.nameElement.textContent = "third-property";
treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));

Powered by Google App Engine
This is Rietveld 408576698