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

Unified Diff: LayoutTests/inspector/elements/styles/add-new-rule-invalid-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/add-new-rule-invalid-selector.html
diff --git a/LayoutTests/inspector/elements/styles/add-new-rule-invalid-selector.html b/LayoutTests/inspector/elements/styles/add-new-rule-invalid-selector.html
index 3215adef38d45c1da09d49b3decb597d9042223c..078132d1dc379aac245ea0623f15fd4ab51a5e0e 100644
--- a/LayoutTests/inspector/elements/styles/add-new-rule-invalid-selector.html
+++ b/LayoutTests/inspector/elements/styles/add-new-rule-invalid-selector.html
@@ -17,7 +17,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 = "@-webkit-keyframes shake";
section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
InspectorTest.runAfterPendingDispatches(callback);

Powered by Google App Engine
This is Rietveld 408576698