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

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

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 690391d5112ae510c78620798f4a5e8b9ef8da53..1b92ebd90df116257c56dc9750f3392af05a6c10 100644
--- a/LayoutTests/inspector/elements/edit-style-attribute.html
+++ b/LayoutTests/inspector/elements/edit-style-attribute.html
@@ -30,11 +30,11 @@ function test()
{
InspectorTest.evaluateInPage("testSetNewValue()");
- WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
+ InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
function listener(event)
{
InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should be issued");
- WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
+ InspectorTest.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
next();
}
},
@@ -43,18 +43,18 @@ function test()
{
InspectorTest.evaluateInPage("testSetSameValue()");
- WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
+ InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
function listener(event)
{
InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should not be issued");
- WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
+ InspectorTest.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.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
+ InspectorTest.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener);
next();
}
}
« no previous file with comments | « LayoutTests/inspector/elements/dom-search-crash.html ('k') | LayoutTests/inspector/elements/elements-css-path.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698