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

Unified Diff: LayoutTests/inspector/elements/attribute-modified-ns.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/attribute-modified-ns.html
diff --git a/LayoutTests/inspector/elements/attribute-modified-ns.html b/LayoutTests/inspector/elements/attribute-modified-ns.html
index aa350f6e5bca25c1256f8f03d83d3c4a5f2ee435..8f8f32207638707d525610049a61ef69f8e45488 100644
--- a/LayoutTests/inspector/elements/attribute-modified-ns.html
+++ b/LayoutTests/inspector/elements/attribute-modified-ns.html
@@ -37,12 +37,12 @@ function test()
{
function callback()
{
- WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, callback);
+ InspectorTest.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, callback);
InspectorTest.addResult("===== On attribute set =====");
InspectorTest.dumpElementsTree(targetNode);
next();
}
- WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, callback);
+ InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, callback);
InspectorTest.evaluateInPage("setAttribute('http://www.w3.org/1999/xlink', 'xlink:href', 'changed-url')");
},
@@ -50,12 +50,12 @@ function test()
{
function callback()
{
- WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrRemoved, callback);
+ InspectorTest.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrRemoved, callback);
InspectorTest.addResult("=== On attribute removed ===");
InspectorTest.dumpElementsTree(targetNode);
next();
}
- WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrRemoved, callback);
+ InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrRemoved, callback);
InspectorTest.evaluateInPage("removeAttribute('xlink:href')");
},
]);

Powered by Google App Engine
This is Rietveld 408576698