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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js

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/edit/edit-dom-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
index df41f061386635b60f5f1795be211c6a1dde7381..a9874147f78db4529da4eee1766749c8b793bd4e 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/elements/edit/edit-dom-test.js
@@ -17,10 +17,10 @@ InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex
function testContinuation()
{
- var editorElement = WebInspector.panels.elements._treeOutlines[0]._shadowRoot.getSelection().anchorNode.parentElement;
+ var editorElement = UI.panels.elements._treeOutlines[0]._shadowRoot.getSelection().anchorNode.parentElement;
editorElement.textContent = attributeText;
editorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_updateModifiedNodes", done);
+ InspectorTest.addSniffer(Elements.ElementsTreeOutline.prototype, "_updateModifiedNodes", done);
}
}
}
@@ -76,7 +76,7 @@ InspectorTest.editNodePartAndRun = function(node, className, newValue, step2, us
editorElement.textContent = newValue;
editorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
if (useSniffer)
- InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_updateModifiedNodes", step2);
+ InspectorTest.addSniffer(Elements.ElementsTreeOutline.prototype, "_updateModifiedNodes", step2);
else
InspectorTest.deprecatedRunAfterPendingDispatches(step2);
}

Powered by Google App Engine
This is Rietveld 408576698