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

Unified Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/layers-test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/elements-test.js
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
index bc2d381c41bfff05b5061527e70b5db8d534158a..f7bd4fec5c60b0eb84eb5563e841fb59b87ab66a 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -35,7 +35,7 @@ InspectorTest.findNode = function(matchFunction, callback)
callback(null);
}
- WebInspector.domAgent.requestDocument(documentRequested.bind(this));
+ WebInspector.domModel.requestDocument(documentRequested.bind(this));
function documentRequested(doc)
{
pendingRequests++;
@@ -518,7 +518,7 @@ InspectorTest.expandElementsTree = function(callback)
InspectorTest.dumpDOMAgentTree = function(node)
{
- if (!WebInspector.domAgent._document)
+ if (!WebInspector.domModel._document)
return;
function dump(node, prefix)
@@ -562,14 +562,14 @@ InspectorTest.generateUndoTest = function(testBody)
{
InspectorTest.addResult("Post-action:");
InspectorTest.dumpElementsTree(testNode);
- WebInspector.domAgent.undo(redo);
+ WebInspector.domModel.undo(redo);
}
function redo()
{
InspectorTest.addResult("Post-undo (initial):");
InspectorTest.dumpElementsTree(testNode);
- WebInspector.domAgent.redo(done);
+ WebInspector.domModel.redo(done);
}
function done()
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector/layers-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698