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

Unified Diff: LayoutTests/inspector/elements/highlight-node-scroll.html

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/highlight-node-scroll.html
diff --git a/LayoutTests/inspector/elements/highlight-node-scroll.html b/LayoutTests/inspector/elements/highlight-node-scroll.html
index be26ef647467fed8dfca3e7f601391042ca9342a..672b1e63449a9682150db6897e044b0cda4829cd 100644
--- a/LayoutTests/inspector/elements/highlight-node-scroll.html
+++ b/LayoutTests/inspector/elements/highlight-node-scroll.html
@@ -44,9 +44,11 @@ function onload()
function test()
{
- function nodeSelected2(node)
+ InspectorTest.selectNodeWithId("inspectedElement1", nodeSelected1);
+
+ function nodeSelected1(node)
{
- RuntimeAgent.evaluate("dumpInspectorHighlightRects()", InspectorTest.completeTest);
+ InspectorTest.dumpInspectorHighlight(node, testNode2);
}
function testNode2()
@@ -54,12 +56,10 @@ function test()
InspectorTest.selectNodeWithId("inspectedElement2", nodeSelected2);
}
- function nodeSelected1(node)
+ function nodeSelected2(node)
{
- RuntimeAgent.evaluate("dumpInspectorHighlightRects()", testNode2);
+ InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bind(InspectorTest));
}
-
- InspectorTest.selectNodeWithId("inspectedElement1", nodeSelected1);
}
</script>
« no previous file with comments | « LayoutTests/inspector/elements/highlight-node-scaled.html ('k') | LayoutTests/inspector/elements/highlight-svg-root.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698