| 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 672b1e63449a9682150db6897e044b0cda4829cd..fe2cbd8f53b207bcfeb9cf58287a4d24836f4816 100644
|
| --- a/LayoutTests/inspector/elements/highlight-node-scroll.html
|
| +++ b/LayoutTests/inspector/elements/highlight-node-scroll.html
|
| @@ -44,21 +44,11 @@ function onload()
|
|
|
| function test()
|
| {
|
| - InspectorTest.selectNodeWithId("inspectedElement1", nodeSelected1);
|
| -
|
| - function nodeSelected1(node)
|
| - {
|
| - InspectorTest.dumpInspectorHighlight(node, testNode2);
|
| - }
|
| + InspectorTest.dumpInspectorHighlightJSON("inspectedElement1", testNode2);
|
|
|
| function testNode2()
|
| {
|
| - InspectorTest.selectNodeWithId("inspectedElement2", nodeSelected2);
|
| - }
|
| -
|
| - function nodeSelected2(node)
|
| - {
|
| - InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bind(InspectorTest));
|
| + InspectorTest.dumpInspectorHighlightJSON("inspectedElement2", InspectorTest.completeTest.bind(InspectorTest));
|
| }
|
| }
|
|
|
|
|