3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/elements-test.js"></script>
9 var treeOutline
= InspectorTest
.firstElementsTreeOutline();
10 InspectorTest
.findNode(function() { return false; }, firstStep
);
14 InspectorTest
.addResult("===== Initial state of tree outline =====\n");
17 var topNode
= treeOutline
.rootElement().childAt(0).childAt(1).childAt(1);
18 topNode
.expandRecursively();
19 InspectorTest
.runAfterPendingDispatches(secondStep
);
24 InspectorTest
.addResult("\n===== State of tree outline after calling .expandRecursively() =====\n");
27 InspectorTest
.completeTest();
32 var node
= InspectorTest
.expandedNodeWithId("depth-1");
33 InspectorTest
.dumpElementsTree(node
);
40 <body onload=
"runTest()">
42 Tests that expanding elements recursively works.
54 <div id=
"depth-10"></div>