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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
index 3d10e473d28d007adea5259cc7fe0ca69b8871de..897a5d127f7b86a718accab0702e4533bae7da39 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
@@ -25,14 +25,14 @@ function test()
function rebuildUpdate()
{
- if (WebInspector.panels.elements._stylesWidget.node === treeOutline.selectedDOMNode())
+ if (UI.panels.elements._stylesWidget.node === treeOutline.selectedDOMNode())
seenRebuildUpdate = true;
}
function step1()
{
- InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "doUpdate", rebuildUpdate);
- InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, attributeChanged, this);
+ InspectorTest.addSniffer(Elements.StylesSidebarPane.prototype, "doUpdate", rebuildUpdate);
+ InspectorTest.domModel.addEventListener(SDK.DOMModel.Events.AttrModified, attributeChanged, this);
// Click "Add new rule".
document.querySelector(".styles-pane-toolbar").shadowRoot.querySelector(".largeicon-add").click();
InspectorTest.evaluateInPage("addStyleClass()", step2);

Powered by Google App Engine
This is Rietveld 408576698