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

Unified Diff: LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.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-new-rule-colon.html
diff --git a/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html b/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
index b17e01770e67a6ff66366b37b590b49946d19f42..c2441414ee218048755135abf11e416e0c23abf9 100644
--- a/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
+++ b/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
@@ -23,7 +23,7 @@ function test()
{
// Click "Add new rule".
document.getElementById("add-style-button-test-id").click();
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+ var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
section._selectorElement.textContent = "foo, " + section._selectorElement.textContent + ", bar";
section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
InspectorTest.runAfterPendingDispatches(step2);
@@ -31,7 +31,7 @@ function test()
function step2()
{
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+ var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
var newProperty = section.addNewBlankProperty();
newProperty.startEditing();
textInputController.insertText("color");

Powered by Google App Engine
This is Rietveld 408576698