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

Unified Diff: LayoutTests/inspector/elements/set-outer-html-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
Index: LayoutTests/inspector/elements/set-outer-html-test.js
diff --git a/LayoutTests/inspector/elements/set-outer-html-test.js b/LayoutTests/inspector/elements/set-outer-html-test.js
index 0f31f11b51fc5b9b470a98954bbc94cfe2cdc6eb..41ba5a43b11146692a11f243adbd1a3ae4456b32 100644
--- a/LayoutTests/inspector/elements/set-outer-html-test.js
+++ b/LayoutTests/inspector/elements/set-outer-html-test.js
@@ -22,9 +22,9 @@ InspectorTest.setUpTestSuite = function(next)
{
InspectorTest.containerText = text;
- for (var key in WebInspector.DOMAgent.Events) {
- var eventName = WebInspector.DOMAgent.Events[key];
- WebInspector.domAgent.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
+ for (var key in WebInspector.DOMModel.Events) {
+ var eventName = WebInspector.DOMModel.Events[key];
+ WebInspector.domModel.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
}
next();
@@ -74,7 +74,7 @@ InspectorTest.setOuterHTMLUseUndo = function(newText, next)
function bringBack()
{
InspectorTest.addResult("\nBringing things back\n");
- WebInspector.domAgent.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
+ WebInspector.domModel.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
}
}

Powered by Google App Engine
This is Rietveld 408576698