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

Unified Diff: LayoutTests/inspector/elements/edit-style-attribute.html

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/edit-style-attribute.html
diff --git a/LayoutTests/inspector/elements/edit-style-attribute.html b/LayoutTests/inspector/elements/edit-style-attribute.html
index c1f1177e6a726c42ff535d3babeba2d63c6b7ce9..18c086c19d9442ae340237577160be695eba8843 100644
--- a/LayoutTests/inspector/elements/edit-style-attribute.html
+++ b/LayoutTests/inspector/elements/edit-style-attribute.html
@@ -31,11 +31,11 @@ function test()
{
InspectorTest.evaluateInPage("testSetNewValue()");
- WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+ WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
function listener(event)
{
- InspectorTest.addResult("WebInspector.DOMAgent.Events.AttrModified should be issued");
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+ InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should be issued");
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
next();
}
},
@@ -44,18 +44,18 @@ function test()
{
InspectorTest.evaluateInPage("testSetSameValue()");
- WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+ WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
function listener(event)
{
- InspectorTest.addResult("WebInspector.DOMAgent.Events.AttrModified should not be issued");
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+ InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should not be issued");
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
}
InspectorTest.addSniffer(WebInspector.DOMNode.prototype, "_setAttributesPayload", callback);
function callback()
{
InspectorTest.addResult("WebInspector.DOMNode.prototype._setAttributesPayload should be called");
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
next();
}
}
« no previous file with comments | « LayoutTests/inspector/elements/dom-search-crash.html ('k') | LayoutTests/inspector/elements/edit-style-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698