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

Unified Diff: LayoutTests/http/tests/inspector/modify-cross-domain-rule.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/http/tests/inspector/modify-cross-domain-rule.html
diff --git a/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html b/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html
index 1f2a2521c73a83ed99c9593a49ce39ec908060e1..f38695bd81c9027ffebe1c3fc106f69805d05592 100644
--- a/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html
+++ b/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html
@@ -18,7 +18,7 @@ function test()
function selectCallback()
{
- var idToDOMNode = WebInspector.domModel._idToDOMNode;
+ var idToDOMNode = InspectorTest.domModel._idToDOMNode;
for (var id in idToDOMNode) {
node = idToDOMNode[id];
if (node.getAttribute && node.getAttribute("id") === "inspected") {
@@ -32,7 +32,7 @@ function test()
return;
}
- WebInspector.cssModel.getMatchedStylesAsync(nodeId, false, false, callback);
+ InspectorTest.cssModel.getMatchedStylesAsync(nodeId, false, false, callback);
}
function callback(rules)
@@ -65,7 +65,7 @@ function test()
InspectorTest.completeTest();
} else {
dumpProperties(newStyle);
- WebInspector.cssModel.setRuleSelector(rule, nodeId, "body", successCallback, failureCallback);
+ InspectorTest.cssModel.setRuleSelector(rule, nodeId, "body", successCallback, failureCallback);
}
}
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | LayoutTests/http/tests/inspector/network-preflight-options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698